por | 17 marzo, 2009

I’m batteling to get squid_ldap_auth to authenticate against M$
windows Active Directory 2008 with my config below

/usr/lib64/squid/squid_ldap_auth -b «OU=Organizational
Structure,DC=example,DC=co,DC=za» -h 10.*.*.250 -D
«CN=squid,OU=Other,OU=TC JHB,OU=Company,OU=Organizational
Structure,DC=example,DC=co,DC=za» -w «Password1» -f

I have used a similar config on windows Active Directory 2003 and it
worked perfectly fine. Is there a catch to authenticating against the
2008 version of AD ? or have I missed some thing ..

How is the best way to debug this as squid does not log or output any
errors even when in debugging mode ..

when is run
[root@gregory-workstation ~]# /usr/lib64/squid/squid_ldap_auth -b
«OU=Organizational Structure,DC=techconcepts,DC=co,DC=za» -h -D «CN=squid,OU=Other,OU=TC
Structure,DC=techconcepts,DC=co,DC=za» -w «Password1» -f
«(&(uid=%s)(objectclass=user))» -v3
gregory.machin Password1
ERR Success

I get «ERR Success»
I believe I should get «OK»
How can I get more info out of this interface ?

Thanks in advance .