Re: [squid-users] Pb ldap with SquidNT

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 20 Jun 2006 21:52:45 +0200

tis 2006-06-20 klockan 14:39 +0200 skrev Jerome:
> Hi !
>
> I use SquidNT on a Windows 2000 Server and I have a problem with Active
> Directory authentification.
> Could you help me ?
> There’s my problem :
> I use the auth_param basic program for authenticate my user, like this :
> auth_param basic program c:/squid/libexec/squid_ldap_auth.exe -R -b
> "dc=domaine,dc=fr" -f "(&(objectclass=person) (sAMAccountName=%s)
> (memberof=CN=leweb,OU=USERS,DC=domaine,DC=fr))" -D
> "cn=Administrateur,cn=Users,dc=domaine,dc=fr" -w "passAdmin" -h server_ip
> When I test this code in command line, I have an “OK”.

Why don't you use the native Windows authenticator? Should be more
reliable and a lot easier to configure (assuming the server is a member
server of the AD).

> But when I try to connect with Squid, I have an error in the cache.log file.
> The error is : squid_ldap_auth: WARNING, LDAP search error 'Erreur de
> filtre' in French : “filter error”

I am not sure squid.conf supports quoted arguments. Try removing the
quotes and all spaces between them..

Regards
Henrik

Received on Tue Jun 20 2006 - 13:52:50 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT