As I know there are more then one squid_ldap_auth helper. What are the
paramters of yours ?
I configured mines as
auth_param basic program /usr/local/squid/bin/squid_ldap_auth -b
dc=gural,dc=com -f (&(uid=%s)(ou=*)) -h 12.2.2.2
You should have some filter (-f)
Can you bind to your ldap using the proxy users accounts ?
You can test it as the following ..
ldapsearch -D "uid=msoyer,ou=gesnet,dc=porselen,dc=com" -W
-ms
----- Original Message -----
From: "Shahin Hacikuliev" <squid@gateway.ege.edu.tr>
To: <squid-users@squid-cache.org>
Sent: Friday, April 18, 2003 7:18 PM
Subject: [squid-users] squid_ldap_auth
> Hi list,
>
> How can I be sure that my squid_ldap_auth
> working properly ....
>
> here is my squid.conf lines:
> -------------------------------
> authenticate_program /usr/lib/squid/squid_ldap_auth -b
> ou=People,dc=Ege,dc=tr 155.223.2.100
>
> acl password proxy_auth REQUIRED
> http_access allow password
> http_access deny all
> ---------------------------------
>
> and my ldapsearch output
> ---------------------------------
> dn: cn=emrah,ou=People,dc=Ege,dc=tr
> objectClass: person
> cn: emrah
> sn: emrah
> userPassword:: ZW1yYWg=
>
> dn: cn=djamag,ou=People,dc=Ege,dc=tr
> uid: djamag
> cn: djamag
> sn: djamag
> objectClass: top
> objectClass: person
> objectClass: uidObject
> userPassword:: c2xhYm9kYQ==
> ---------------------------------
>
> And I cant authenticate myself by entering username and password ...
>
> and at command promt
> [root@proxy shahin]# /usr/lib/squid/squid_ldap_auth -b
ou=People,dc=Ege,dc=tr 155.223.2.100
> emrah emrah
> ERR
> djamag djamag
> ERR
>
> What else must I do ?
>
> Shahin
>
>
Received on Fri Apr 18 2003 - 09:36:08 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:15:02 MST