[squid-users] Fw: Authentication Loop

From: Kadek Hendra Lesmana <dexqua_at_yahoo.com>
Date: Thu, 28 Aug 2008 20:42:11 -0700 (PDT)

Hi Guys,

I am configuring Squid Version 2.6.STABLE5 in Server1(192.168.60.10) and OpenLDAP in Server2(192.168.41.11), both using OpenSuse 11.
 
When I ran this command on Server1:
# /usr/sbin/squid_ldap_auth -R -v 3 -b "dc=mydom,dc=com" -D "cn=administrator,dc=mydom,dc=com" -w "mypass" -f "(&(objectClass=account)(uid=%s))" -H ldap://192.168.41.11
and I entered username & password, it turned OK.

But when I put those line in squid.conf I get infinite
authentication loop.
 
Here is some of my squid.conf :

auth_param basic program /usr/sbin/squid_ldap_auth -R -v 3 -b "dc=mydom,dc=com" -D "cn=administrator,dc=mydom,dc=com" -w "mypass" -f "(&(objectClass=account)(uid=%s))" -H ldap://192.168.41.11
auth_param basic children 5
auth_param basic realm Web-Proxy
auth_param basic credentialsttl 1 hours

acl CONNECT method CONNECT

http_access allow manager localhost
http_access deny manager
http_access allow localhost
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow PURGE localhost
http_access deny PURGE

acl ldap-auth proxy_auth REQUIRED
http_access allow ldap-auth

http_access deny all
http_reply_access allow all
icp_access allow lan
icp_access deny all
miss_access allow all

#---- end
 
Please help.
Thanks in advance for your help.
-Dex-

      
Received on Fri Aug 29 2008 - 03:42:18 MDT

This archive was generated by hypermail 2.2.0 : Fri Aug 29 2008 - 12:00:04 MDT