]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Oops.. had deleted the default for -u in a cleanup. This was not intentional.
authorhno <>
Tue, 1 May 2001 00:27:06 +0000 (00:27 +0000)
committerhno <>
Tue, 1 May 2001 00:27:06 +0000 (00:27 +0000)
helpers/basic_auth/LDAP/squid_ldap_auth.8
helpers/basic_auth/LDAP/squid_ldap_auth.c

index 03badc983e22b61e02defdb3019bfb0b1f38700b..e0cf63e21028681747e7d53665e8ebb7608325bb 100644 (file)
@@ -1,4 +1,4 @@
-.TH squid_ldap_auth 8 "18 April 2001" "Squid LDAP Auth"
+.TH squid_ldap_auth 8 "30 April 2001" "Squid LDAP Auth"
 .SH NAME
 squid_ldap_auth - Squid LDAP authentication helper
 .SH SYNOPSIS
@@ -80,7 +80,7 @@ you need to specify is usually the base DN under where your users
 are located, and the server name.
 .
 .IP
-squid_ldap_auth -b dc=your,dc=domain ldapserver
+squid_ldap_auth -b ou=peopl,dc=your,dc=domain ldapserver
 .P
 If you have sub-domains then you need to use a search filter to locate
 the users
@@ -88,7 +88,8 @@ the users
 squid_ldap_auth -b dc=your,dc=domain -f uid=%s ldapserver
 .P
 Or if the user attribute of the user DN is "cn" instead of "uid" then 
-you could use something like the following (for Active Directory)
+you could use something like the following (for Active Directory) if
+you do not want to search for the user DN
 .IP
 squid_ldap_auth -u cn -b cn=Users,dc=your,dc=domain ldapserver
 .P
index 1f3c30f430a1bdc00246a95fdb2ed466c2681d7c..014f707a9cf78c5e1c5e7276d72094d954a5b58d 100644 (file)
@@ -49,7 +49,7 @@ static char *basedn;
 static char *searchfilter = NULL;
 static char *binddn = NULL;
 static char *bindpasswd = NULL;
-static char *userattr = NULL;
+static char *userattr = "uid";
 static int searchscope = LDAP_SCOPE_SUBTREE;
 static int persistent = 0;
 static int noreferrals = 0;