Re: [squid-users] squid_ldap_auth to authtenticate on Active Directory 2000

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 01 Aug 2006 08:29:38 +0200

mån 2006-07-31 klockan 11:18 -0600 skrev sOngUs:

> squid_ldap_auth -R -b cn=users,dc=mydomain,dc=com -D
> "cn=administrator,cn=Users,dc=mydomain,dc=com" -w mypassword -f
> sAMAccountName=%s -h 192.168.0.1 (which is the IP address of the AD
> server.)
>
> But then id does nothing and if i press ENTER i get "ERR"...

You have to give something to work on, i.e. a username and password

username<space>password<enter>

> Now.. the question is... which dependencies does this module have?
> cause i compiled squid with the right option (i think.. otherwise
> squid_ldap_auth wont be there...)

none..

> And installed Openldap so ill have libldap... do i need to install
> anything else?

nope.

> I turned on a sniffer on the box, but there is no trace of any ldap conn...
> so im guessing im missing something...

the LDAP connection is opened when there is a query to resolve.

Regards
Henrik

Received on Tue Aug 01 2006 - 00:29:42 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Sep 01 2006 - 12:00:01 MDT