AW: [squid-users] Doku and question: Squid + squid_ldap_auth + Tru64

From: <Werner.Rost@dont-contact.us>
Date: Mon, 30 Jan 2006 10:50:21 +0100

Thanks für your hint, but it does not work:

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

<ip>, <name of adminuser>, <password of adminuser> are really correct.

Entering a valid user / password: miller secret

still gives

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

Why "ERR Success"? What tests can I further do?

Werner Rost

>>-----Ursprüngliche Nachricht-----
>>Von: Ghislain Garcon [mailto:gigi_8439@yahoo.fr]
>>Gesendet: Freitag, 27. Januar 2006 17:19
>>An: Rost Werner ZFBE GMT-ISN; squid-users@squid-cache.org
>>Betreff: Re: [squid-users] Doku and question: Squid +
>>squid_ldap_auth + Tru64
>>
>>
>>Response 1 : You have two -b option. Keep only this one :
>>
>>-b "dc=emea,dc=zf-world,dc=com"
>>
>>
>>Is your ldap server accept simple connexions?
>>Check password and your bind dn.
>>
>>Response 2 : Yes
>>
>>>It would be nice if someone can give me sone hints how I can test
>>>squid_ldap_auth interactive without squid.
>>>
>>>I tried:
>>>
>>>/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
>>>
>>>
>>>Question 1: Something wrong with the syntax above?
>>>
>>>Question 2: Is it ok to enter <username><blank><password> ?
>>>
>>>
>>>Werner Rost
>>>
>>>
>>>
>>
>>
>>
Received on Mon Jan 30 2006 - 02:51:35 MST

This archive was generated by hypermail pre-2.1.9 : Wed Feb 01 2006 - 12:00:02 MST