[squid-users] squid_ldap_auth + openldap

From: <squid@dont-contact.us>
Date: Fri, 02 Jan 2004 10:03:08 +0700

I have a RH9 + openldap-2.0.27-8 + qmail-1.03 + vpopmail-5.2.1 box and
now I'm adding squid-2.5.STABLE1-2.rpm into it.

The integration between openldap and vpopmail/qmail has been working
fine. I can send/receive email.

The problem is that I can't authenticate any users when using
squid_ldap_auth.

slap.conf:
  database ldbm
  suffix "o=vpop"
  rootdn "cn=manager,o=vpop"
  rootpw password
  directory /var/lib/ldap
  index objectClass pres,eq
  index cn,sn,uid eq
  index qmailUID,qmailGID eq
  access to *
        by self write
        by dn="cn=manager,o=vpop" write
        by * write

My ldap entries as follow:
  o=vpop
     ou=tld.com
        uid=user1
        uid=user2

The squid.conf has the following lines:
  auth_param basic program /usr/lib/squid/squid_ldap_auth -b
  ou=tld.com,o=vpop -h localhost -D "cn=manager,o=vpop" -w password
  auth_param basic children 5
  auth_param basic realm Squid proxy-caching web server
  auth_param basic credentialsttl 2 hour

  acl authenticated proxy_auth REQUIRED
  http_access allow authenticated

When I tried to browse via squid, I got the user+passwd prompt, but I
can't authenticate any user through it.

I've tried different squid_ldap_auth options but stil no luck (no -D and
-w, search this maillist, man squid_ldap_auth, etc). Can someone help me?
TIA.

toblo
Received on Thu Jan 01 2004 - 20:03:12 MST

This archive was generated by hypermail pre-2.1.9 : Sun Feb 01 2004 - 12:00:02 MST