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
