[squid-users] Squid and squid_ldap_auth... strange base needed!

From: Mauricio Silveira <[email protected]>
Date: Wed, 31 Oct 2007 20:48:18 -0300

Hi all

I'm a real newbie on using LDAP... I'm using here Slackware 12 without pam.

I have just compiled squid 2.6.STABLE16, I'm on a fight with the ldap
auth module...

Look at this:

The former:
/usr/libexec/squid/squid_ldap_auth -b "dc=LINUXDEV,dc=INTRANET" -D
"cn=Administrator,cn=Users,dc=LINUXDEV,dc=INTRANET" -w "password" -d -f
sAMAccountName=%s -h 192.168.10.10
username password
squid_ldap_auth: WARNING, LDAP search error 'Operations error'
ERR Success

The latter:
/usr/libexec/squid/squid_ldap_auth -b "cn=Users,dc=LINUXDEV,dc=INTRANET"
-D "cn=Administrator,cn=Users,dc=LINUXDEV,dc=INTRANET" -w "password" -d
-f sAMAccountName=%s -h 192.168.10.10
username password
OK

My question is: WHY????
Should I really provide an object such as the cn=Users to start from?

And BTW... squid_ldap_auth seems to be caching queries... I just changed
the test user's password and the old password still returns Ok.

Thank you,

Mauricio

Received on Wed Oct 31 2007 - 16:49:47 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:02 MDT