No it won't.
squid_ldap_auth by default does not search, but uses the "user"
attribute as last component of the DN. What this means is that
squid_ldap_auth will try to log in to the DN
uid=john,ou=boss,o=Alpha
which quite obviously is not the same DN as returned in your
ldapsearch
cn=john,ou=boss,o=Alpha
To make squid_ldap_auth search for the users DN you must use the -f
argument.
But if all your users are in a single flat tree and you want to use
the last component of the user DN as login name then you do not need
to search, only make sure that the -u argument specifies the correct
attribute name (defaults to uid).
Regards
Henrik
On Wednesday 11 December 2002 21.11, John Blance wrote:
> PS
>
> In squid-2.4.STABLE3 that I currently use the uid attribute is the
> default so something like:
>
> ./squid_ldap_auth -b "ou=boss,o=Alpha" 10.18.41.12
>
> should work?
>
> John Blance
> Technical Architect
> Canterbury District Health Board
> Direct Dial: 03 3640707
> john.blance@cdhb.govt.nz
Received on Wed Dec 11 2002 - 17:42:31 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:12:03 MST