Re: [squid-users] squid_ldap_auth issues

From: Henrik Nordstrom <[email protected]>
Date: Thu, 9 Dec 2004 17:22:43 +0100 (CET)

On Thu, 2 Dec 2004, Ron Bettle wrote:

> ok lemme start by saying that i have read and searched
> the archives but i still cant figure this out ;-).
>
> what im trying to do is reproduce the old smb_auth
> functionality with the 'new' active directory LDAP.
> unfortunately i have no control over the LDAP nor do i
> really understand LDAP that well, but im learning ;-).
>
> ok here is what i have so far. after much reading and
> searching through the archives i have come up with the
> following.
>
> /usr/lib/squid/squid_ldap_auth -b
> "cn=nameofmydc,ou=domain
> controllers,dc=mydomain,dc=net"

This should just be your domain

   dc=mydomain,dc=net

> -D "cn=Bettle\,
> Ron,ou=Users,ou=SOS,ou=Facilities,dc=mydomain,dc=net"
> -w mypassword -f "(&(CN=%u)(objectClass=person))" -H
> ip.of.my.dc

Most want to use samAccountName or similar for the login, not the
"common/full name".

Regards
Henrik
Received on Thu Dec 09 2004 - 09:53:08 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:02 MST