-.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
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
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
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;