Yes, i can search LDAP using mentioned filter.
I have changed atribut tu cn using -U. The whole comman looks like this:
auth_param basic program /usr/lib/squid/squid_auth_ldap -s o=spsvos,ou=operativ -S kronos.sps-pi.cz -e -U cn
I have no such file in my squid (debian sarge, squid 2.5stable9).
regards Jiri
Henrik Nordstrom napsal(a):
On Tue, 17 May 2005, [ISO-8859-2] Jiří Červenka wrote:
Hello,
I'd like to ask, if there is a way how to get user name to linux proxy server squid. My LDAP database is running on netware 6.0 and I'm able to search it from linux (debian sarge, ldapsearch). But when I try to connect to it using squid_auth_ldap I get this error:
(&(|(objectClass=inetOrgPerson)(objectClass=alias)) (| (cn=cervenka))) squid_auth_ldap[10263]: - start searching for cn: cervenka squid_auth_ldap[10263]: - search done squid_auth_ldap[10263]: - user "cervenka", not found! squid_auth_ldap[10263]: - usr cervenka -> Cannot find user!
Can you search the LDAP using ldapsearch with the above search filter?
The use of cn the cn attribute for the login looks a bit odd.. usually the uid attribute is used for this purpose...
Maybe you have better luck using squid_ldap_auth shipped with Squid?
Regards Henrik
__________ Informace od NOD32 1.1099 (20050516) __________
Tato zprava byla proverena antivirovym systemem NOD32. http://www.nod32.cz