On Fri, 27 Jan 2006 [EMAIL PROTECTED] wrote:

/usr/local/squid/libexec/squid_ldap_auth \
     -b o=<LOCATION> \
     -h <ip> \
     -D "cn=<adminuseer>,cn=Users,dc=emea,dc=zf-world,dc=com" \
     -w "<password of adminuser>" \
     -b "dc=emea,dc=zf-world,dc=com" -f sAMAccountName=%s

and entered  <username><blank><password>

             miller secret

In all cases this leads to

  squid_ldap_auth: WARNING, could not bind to binddn 'Invalid credentials'
  ERR Success

This indicates there is something wrong with the admin account (-D/-w options).

Try binding to the same account using OpenLDAP ldapsearch. (-x option may be required).

Question 1: Something wrong with the syntax above?

Nothing obvious, except the double -b option already mentioned. Not harmful (last one is the effective one).

Regards
Henrik

Reply via email to