Re: [squid-users] ldap_auth protocol error Msg

From: Henrik Nordstrom <[email protected]>
Date: Thu, 14 Oct 2004 18:22:44 +0200 (CEST)

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
Received on Thu Oct 14 2004 - 10:22:46 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Nov 01 2004 - 12:00:02 MST