[squid-users] Help on digest_ldap_auth module

From: Josh <mylist13@dont-contact.us>
Date: Mon, 22 Oct 2007 18:01:49 +0800

Hi all,

I have a problem trying to authenticate a user through digest_ldap_auth module.
I'm trying to test the module using the following command line :
./digest_ldap_auth -b "dc=proxy,dc=local" -D
"cn=admin,dc=proxy,dc=local" -w XXXXX -F "(&(objectClass=person))" -u
"sn" -A "userPassword" -v 3 -e localhost
STDIN> client002 pass002
STDIN> ERR

User client002 (check the output done by ldapsearch) has been created
using the following command :
ldapadd -x -D "cn=admin,dc=proxy,dc=local" -w "XXXXX" -f temp.ldif -h localhost
with :
root@test:/tmp# cat temp.ldif
dn: cn=client002, ou=People, dc=proxy, dc=local
objectClass: top
objectClass: person
cn: client002
sn: client002
userPassword: pass002

Any hints ?

Thanks a lot

#####
Output of ldapsearch :

root@test:/tmp# ldapsearch -x -D "cn=admin,dc=proxy,dc=local" -w XXXXX
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# proxy.local
dn: dc=proxy,dc=local
objectClass: organization
objectClass: dcObject
dc: proxy
o: proxy

# People, proxy.local
dn: ou=People,dc=proxy,dc=local
objectClass: organizationalUnit
ou: People

# group, proxy.local
dn: ou=group,dc=proxy,dc=local
objectClass: organizationalUnit
ou: group

# machines, proxy.local
dn: ou=machines,dc=proxy,dc=local
objectClass: organizationalUnit
ou: machines

# domains, proxy.local
dn: ou=domains,dc=proxy,dc=local
objectClass: organizationalUnit
ou: domains

# client001, People, proxy.local
dn: cn=client001,ou=People,dc=proxy,dc=local
cn: client001
sn: client001
objectClass: person
objectClass: top
userPassword:: e0NSWVBUfSQxJFh4QmJPekpFJFNYeEVnMXRNekxNZjQ2c3Iyek4zdDE=

# client002, People, proxy.local
dn: cn=client002,ou=People,dc=proxy,dc=local
objectClass: top
objectClass: person
cn: client002
sn: client002
userPassword:: e1NTSEF9WWVETmIvS0pBQUhsZ01pdVRGdFF6M2cvRkpDUTUrMUE=

# search result
search: 2
result: 0 Success

# numResponses: 8
# numEntries: 7
Received on Mon Oct 22 2007 - 04:01:52 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT