Re: [squid-users] Authenticate to LDAP server

From: Keshava M P <keshava.mp@dont-contact.us>
Date: Sun, 21 Oct 2007 14:26:55 +0530

Hi,
you have to use search filter option -f
(&(objectCategory=user)(memberOf=CN=lAccess,OU=Security
Groups,DC=domain,DC=local))

cheers!

On 10/19/07, Bazy <bazy@goofy.celuloza.ro> wrote:
> Hello guys,
>
> I'm running CentOS 5 and squid-2.6.STABLE6-4.
>
> Here is what I am doing:
> /usr/lib/squid/squid_ldap_auth -R -b "dc=domain,dc=local" -D
> "cn=Administrator,cn=Users,dc=domain,dc=local" -w "PASSWORD" -f
> sAMAccountName=%s -h 192.168.0.17`
>
> This works great, but, it authenticates every valid username/password in
> the domain.local :) witch is not that great.
>
> What do I need, to tell it to authenticate everyone in the domain witch
> is a member of the "IAccess" group? The LDAP server is a Windows 2003
> Active Directory btw...
>
> Please don't rtfm me... I already rtfm, but I just don't get it...
>
> Thank you very much!
>

-- 
M P Keshava
Received on Sun Oct 21 2007 - 02:56:58 MDT

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