On Thu, 4 Dec 2003, Maurer Roland MKG-Bank wrote:
> To authenticate ONE location it is easy..
>
> /usr/sbin/squid_ldap_auth -b "ou=People,dc=location1,dc=firm,dc=de" -s "sub"
> -h 192.168.1.152 -u "uid"
>
> This is LDAP search works. But I can't authenticate anyone from location2.
This is not a search at all.. it just assumes the users DN is built by
adding the user attribute to the base dn giving
uid=LOGIN,ou=People,dc=location1,dc=firm,dc=de
to use search mode you need to use the -f flag specifying a suitable
search filter such as -f "(&(uid=%s)(objectClass=Person))"
This is explained in the manual.
Regards
Henrik
Received on Thu Dec 04 2003 - 14:19:51 MST
This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:05 MST