On Thu, 14 Oct 2004, digitalfx wrote:
yes i can, using ldapsearch with -x option (simple authentication) ldapsearch -x -b dc=mydomain,dc=com -D cn=admin,dc=mydomain,dc=com -w pass -h 192.168.2.107 uid=a_login_name otherwise i get this bind msg: Server is unwilling to perform (53) additional info: unauthenticated bind (DN with no password) disallowed
Odd. If ldapsearch works then squid_ldap_auth should work as well.
Does your directory really require binding to search? Does the following work?
ldapsearch -x -b dc=mydomain,dc=com -h 192.168.2.107 uid=a_login_name
If it does, try using squid_ldap_auth in the same manner
squid_ldap_auth -f uid=%s -b dc=mydomain,dc=com 192.168.2.107
You can also try using the -1 option (oneshot).
Regards Henrik