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