Re: [squid-users] ldap_auth

From: Tim Bernhardson <TBERNHAR@dont-contact.us>
Date: Thu, 04 Dec 2003 07:58:23 -0800

Here is an example what I have done [squid 2.5Stable3] - I have 3 sub domains to search.

/usr/local/squid/libexec/squid_ldap_auth -b o=tld -f(&(cn=%s)(objectclass=person)) -s sub ...

Tim Bernhardson
Senior Technical Engineer
Certified Citrix Metaframe Administrator
Certified CyberGuard Administrator
Certified AIX 4.3 System Administrator
Sun-Maid Growers of California
7273 Murray Drive, Ste 18
Stockton, CA 95210

tbernhar at sunmaid dot com

>>> Maurer Roland MKG-Bank <R.Maurer@MKG-BANK.DE> 12/04/03 02:35AM >>>
Hey, I have a problem wirth the ldap_auth

We have two locations build up in the ldap tree

ou=People,dc=location1,dc=firm,dc=de

and

ou=People,dc=location2,dc=firm,dc=de

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.

How can I do this ?

When I cut the base to "dc=firm,dc=de" the LDAP search/bind is incorrect

 uid=test,dc=firm,dc=de

This doesn't works !

How can I authenticate both ?

Roland Maurer
MKG Bank
Received on Thu Dec 04 2003 - 08:58:53 MST

This archive was generated by hypermail pre-2.1.9 : Thu Jan 01 2004 - 12:00:05 MST