Hi Henrik,

My user object is look like this:
"uid=user1, ou=tld.com, o=vpop"

I'd like to be able to log at squid as "[EMAIL PROTECTED]". How can I check
the "user1" part to uid and "tld.com" part to ou?

Thanks,
toblo


----- Original message -----
From: "Henrik Nordstrom" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Tue, 6 Jan 2004 04:31:09 +0100 (CET)
Subject: Re: [squid-users] squid_ldap_auth + openldap

On Tue, 6 Jan 2004 [EMAIL PROTECTED] wrote:

> Does anybody has examples of how using the filter search for
> squid_ldap_auth? I don't understand the ones in the man page or the one
> in RFC2254. 

What does the user objects you want to search for look like? Specifically 
what attribute carries the login name and what is the objectClass?

A very common LDAP user search filer is

  (&(uid=%s)(objectClass=Person))

this searches for a Person class object where the uid attribite equals to 
the login name.

LDAP directories where the user objects look differently requires 
different filters.

Regards
Henrik

Reply via email to