[squid-users] basic program authentication setting for squid_ldap_auth, am I right in my configuration?

From: Yong Bong Fong <bfyong@dont-contact.us>
Date: Fri, 03 Dec 2004 11:18:14 +0800

Dear all,

    I am confused about the configuration of squid_ldap_auth in squid.conf.
Below is the format of the ldap built by my system administrator, he
wants me to set up ldap authentication through squid.

DN:cn=root, dc=shinyang, dc=com, dc=my
|
|________DN:ou=qmail_users, cn=root, dc=shinyang, dc=com, dc=my
                 |
                 |________DN:cn=bfyong, ou=qmail_users,cn=root,
dc=shinyang,dc=com,dc=my

 

I understand most steps about setting up ldap for squid, except the
section that I have about :
"auth_param basic program" in squid.conf.

*In my squid.conf I set:
auth_param basic program /usr/lib/squid/squid_ldap_auth -b dc=shinyang,
dc=com, dc=my -D cn=root,dc=shinyang,dc=com,dc=my -w
-f(&(objectclass=person)(cn=%s)) -h 172.16.0.21

*Does it look right based on the LDAP tree I supplied above?
or is it as

*/usr/lib/squid/squid_ldap_auth -b -h 172.16.0.21 -D
cn=root,dc=shinyang,dc=com,dc=my -f (&(objectclass=person)(cn=%s)

*or is it

*/usr/lib/squid/squid_ldap_auth -b o=root -h 172.16.0.21 -D
cn=bfyong,ou=qmail_users,o=root -w "bfyongpassword" -f
(&(objectclass=person)(cn=%s))

*Is any one of the above right? if not...can please show me how to get
the right configuration....
thanks all...
Received on Thu Dec 02 2004 - 20:14:26 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:01 MST