Re: [squid-users] How to get user informations from LDAP to squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 17 May 2005 16:24:19 +0200 (CEST)

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
Received on Tue May 17 2005 - 08:24:24 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Jun 01 2005 - 12:00:03 MDT