RE: [squid-users] Pb ldap with SquidNT

From: Jerome <bret.jerome@dont-contact.us>
Date: Wed, 21 Jun 2006 18:07:19 +0200

Thanks Guido !
Tomorrow I test the cachemgr.cgi
Thans

Jérôme

-----Message d'origine-----
De : Guido Serassio [mailto:guido.serassio@acmeconsulting.it]
Envoyé : mardi 20 juin 2006 22:22
À : Jerome; squid-users@squid-cache.org
Objet : Re: [squid-users] Pb ldap with SquidNT

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 Wed Jun 21 2006 - 10:08:51 MDT

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