Hi all!
We have squid (v2.5.STABLE12) + squidguard (v1.3 Sleepycat Software: Berkley DB 4.3.29) working today using LDAP simple authentication against a MS W2K3 AD Server. It runs on SLES 10 SP1 32-bit and works fine!
Now, to improve security, we are installing a new server to test squid (v2.5.STABLE12) + winbindd (samba v3.0.24) + kerberos (MIT krb5 v1.4.3) + squidguard (v1.3 Sleepycat Software: Berkley DB 4.3.29). I’ve configured and tested squid + winbindd + kerberos and they are working fine. Squid can authenticate a user. But I have a problem with squidGuard: I can’t authenticate it against AD server anymore, even using the same ldap query (in fact, the same config file) that is working today. Here is the message that appears in squidGuard.log file:
Code:
2008-05-26 16:43:43 [5977] squidGuard ready for requests (1211831023.527)
2008-05-26 16:44:23 [5977] (squidGuard): ldap_search_ext_s failed: Operations error (params: dc=domain,dc=com,dc=br, 2, (&(objectclass=user)(sAMAccountName=myuser)(memberof=cn=mygroup,cn=users,dc=domain,dc=com,dc=br)), sAMAccountName)
2008-05-26 16:44:23 [5977] Added LDAP source: myuser
I searched at Google but didn’t find anything relevant, just a few pieces of code.
Here is the piece of log from squid’s cache.log file regarding the squidguard log above:
Any idea of what is happening ?
SquidGuard was compiled with this settings:
# ./configure –prefix=/usr/local/squidGuard –with-db –with-ldap
LDAP development package is provided by SUSE and is openldap2-devel-2.3.32-0.10.
Thanks in advance.