Re: [squid-users] Pb ldap with SquidNT

From: Guido Serassio <guido.serassio@dont-contact.us>
Date: Tue, 20 Jun 2006 22:22:19 +0200

Hi Jerome,

At 14.39 20/06/2006, Jerome wrote:

>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".
>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"
>Could you help me ?
>Thanks.

Running as a user or as service should don't care, so may be a parsing problem.

Do you have configured cachemgr.cgi on your machine ?
http://wiki.squid-cache.org/SquidFaq/CacheManager

If yes, check in "Current Squid Configuration" if the in-memory
configuration is as expected.

If cachemgr .cgi is not configured, you can use squidclient.exe to
query directly Squid Cache manager after configuring Cache manager
ACLs in squid.conf (see the previous link):

squidclient -U manager -W yourpassword mgr:config

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1 10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135 Fax. : +39.011.9781115
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Tue Jun 20 2006 - 14:22:30 MDT

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