Search squid archive

Fw: Authentication Loop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-


      

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux