Hi folks
I am trying for autentifying my LDAp users but squid_ldap_auth not works
well. I have installed squid 2.5 stable 3 my authentification in squid.conf
is:
auth_param basic program /usr/lib/squid/squid_ldap_auth -h 192.168.1.222 -b
ou=People,dc=interna1,dc=com -D cn=Admin,dc=interna1,dc=com -wmaster -f
uid=%s
........
........
For test the program I was trying:
./squid_ldap_auth -h 192.168.1.222 -b ou=People,dc=interna1,dc=com -D
cn=Admin,dc=interna1,dc=com -wmaster -f uid=juan
but the response is ERR
Where is the error? Why is ERR if the juan user exist?
The LDAp service is in another machine (192.168.1.222) and my squid is
installed in 192.168.1.5
The default port LDAP is 389
In the cache.log all is OK
The password of juan user is encrypted. Could be It the problem?
if I try
ldapsearch -x -h 192.168.1.222 -b dc=interna1,dc=com -D
cn=Admin,dc=interna1,dc=com -wmaster uid=juan
I have it:
version: 2
#
# filter: uid=juan
# requesting: ALL
#
# juan, People, interna1, com
dn: uid=juan,ou=People,dc=interna1,dc=com
objectClass: inetLocalMailRecipient
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: account
objectClass: posixAccount
objectClass: top
objectClass: shadowAccount
uid: juan
cn: juan
sn: juan
mail: juan@interna1.com
mailLocalAddress: juan@interna1.com
mailRoutingAddress: juan@localhost
userPassword:: e2NyeXB0fSQxJC5RMGY0Y3pGJDRiSmVDLm1ob2NvMlNaUzBpZ0t2aC4=
shadowLastChange: 12255
shadowMax: 99999
shadowWarning: 7
uidNumber: 511
gidNumber: 511
loginShell: /bin/bash
homeDirectory: /home/juan
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
Help me please. Thank you
Att,
Carlos Simbaņa
Received on Mon Aug 04 2003 - 17:46:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:35 MST