Re: [squid-users] Problem with squid_ldap_auth

From: yconan <yahn_ick@dont-contact.us>
Date: Wed, 3 Nov 2004 17:37:30 +0100

Hi,

I resolved my problem,
it was a syntax error:
auth_param basic program /usr/lib/squid/squid_ldap_auth -b dc=IMC,dc=com -D
cn=admin,dc=IMC,dc=com -w secret -f (&(objectclass=person)(cn=%s)) -h
192.168.1.4
doesn't work
but
auth_param basic program /usr/lib/squid/squid_ldap_auth -b "dc=IMC,dc=com" -D
"cn=admin,dc=IMC,dc=com" -w secret -f "(&(objectclass=person)(cn=%s))" -h
192.168.1.4
works

it was only a problem of "

Now all work!
thank you for your help

But how I have to do to tell to squid_ldap_auth to use version 3 ?

best regards,

Yann Conan

Le mercredi 3 Novembre 2004 16:39, Henrik Nordstrom a écrit :
> On Wed, 3 Nov 2004, yconan wrote:
> > Thank you for your advice.
> > I resolved my first problem.
> > Now the using of squid_ldap_auth in command line works good.
> > the problems was that squid_ldap_auth use the openldap version 2 by
> > default
>
> You can tell it to use version 3..
>
> > but now I've to found why it doesn't works with the web browser
>
> If it works from the command line then it should work from the browser.
> There is no difference.
>
> Maybe there is a problem in your acl definitions as well? Check your
> http_access and acl lines.
>
> Regards
> Henrik
Received on Wed Nov 03 2004 - 09:34:36 MST

This archive was generated by hypermail pre-2.1.9 : Wed Dec 01 2004 - 12:00:01 MST