On Thu, 12 Aug 2004, Simon Magee wrote:
On manually running the
./squid_auth_ldap -b o=bte -h 172.20.200.1 -p 389
I always get the ERR message on the screen.
What does your LDAP directory look like? The above assumes a flat
directory with all users directly below o=bte on the form
uid=login1
Check to see if your ldap dir accepts anonymous binds, if not you will
need the -D and -w params. Also when you run the helper outside of squid
you need to pipe the password, see below:
echo "userPassword: password" | /squid_ldap_auth -b
"ou=academics,o=dbu" -u cn -D "cn=LDAPUser,ou=users,o=dbu" -
Can you do a ldapsearch to the ldap directory?
ldapsearch --help
There is also a helpfile/readme in the helpers/ldap directory of the source.
You need to get the helper working outside of squid first, before moving on
to any squid type problems you might encounter. Try a -x on the
helper...that m