From: Amos Jeffries Date: Wed, 10 Mar 2010 08:15:26 +0000 (+1300) Subject: Manuals: convert .R to .B X-Git-Tag: SQUID_3_2_0_1~373 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=481d7e003c4f78b8f107408eb3b736b7cdc46ba4;p=thirdparty%2Fsquid.git Manuals: convert .R to .B --- diff --git a/helpers/basic_auth/LDAP/basic_ldap_auth.8 b/helpers/basic_auth/LDAP/basic_ldap_auth.8 index bd7623ce86..b867c0b800 100644 --- a/helpers/basic_auth/LDAP/basic_ldap_auth.8 +++ b/helpers/basic_auth/LDAP/basic_ldap_auth.8 @@ -244,18 +244,18 @@ For directories using the RFC2307 layout with a single domain, all you need to specify is usually the base DN under where your users are located and the server name: .IP -.if !'po4a'hide' .R basic_ldap_auth -b "ou=people,dc=your,dc=domain" ldapserver +.if !'po4a'hide' .B basic_ldap_auth -b "ou=people,dc=your,dc=domain" ldapserver .PP If you have sub\-domains then you need to use a search filter approach to locate your user DNs as these can no longer be constructed direcly from the base DN and login name alone: .IP -.if !'po4a'hide' .R basic_ldap_auth -b "dc=your,dc=domain" -f "uid=%s" ldapserver +.if !'po4a'hide' .B basic_ldap_auth -b "dc=your,dc=domain" -f "uid=%s" ldapserver .PP And similarily if you only want to allow access to users having a specific attribute .IP -.if !'po4a'hide' .R basic_ldap_auth -b "dc=your,dc=domain" -f "(&(uid=%s)(specialattribute=value))" ldapserver +.if !'po4a'hide' .B basic_ldap_auth -b "dc=your,dc=domain" -f "(&(uid=%s)(specialattribute=value))" ldapserver .PP Or if the user attribute of the user DN is .B "cn" @@ -264,7 +264,7 @@ instead of and you do not want to have to search for the users then you could use something like the following example for Active Directory: .IP -.if !'po4a'hide' .R basic_ldap_auth -u cn -b "cn=Users,dc=your,dc=domain" ldapserver +.if !'po4a'hide' .B basic_ldap_auth -u cn -b "cn=Users,dc=your,dc=domain" ldapserver .PP If you want to search for the user DN and your directory does not allow anonymous searches then you must also use the @@ -274,7 +274,7 @@ and flags to specify a user DN and password to log in as to perform the searches, as in the following complex Active Directory example .IP -.if !'po4a'hide' .R basic_ldap_auth -P -R -b "dc=your,dc=domain" -D "cn=squid,cn=users,dc=your,dc=domain" -w "secretsquidpassword" -f "(&(userPrincipalName=%s)(objectClass=Person))" activedirectoryserver +.if !'po4a'hide' .B basic_ldap_auth -P -R -b "dc=your,dc=domain" -D "cn=squid,cn=users,dc=your,dc=domain" -w "secretsquidpassword" -f "(&(userPrincipalName=%s)(objectClass=Person))" activedirectoryserver . .PP .B NOTE: