[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openldap & squid integration

On Mon, Jul 26, 2010 at 5:29 PM, OSHIM <mhoshim@gmail.com> wrote:
I configured my squid.conf file to authenticate with openldap. but my browser always asking for the username and password though i put the correct username and password.

here is my squid.conf

http_port 3128

auth_param basic program /usr/lib/squid/squid_ldap_auth -b "dc=mycentos,dc=net" -f "uid=%s" -h -D "cn=manager,dc=mycentos,dc=net" -w swi2010 -s one -v 3
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

acl all src
acl manager proto cache_object
acl localhost src
acl webconfig_lan src
acl webconfig_to_lan dst
acl to_localhost dst
acl password proxy_auth REQUIRED

http_access allow manager localhost
http_access deny manager
http_access deny CONNECT !SSL_ports
http_access allow localhost password
http_access allow webconfig_to_lan
http_access allow webconfig_lan password
http_access deny all

You have defined the acl named "password", but where have you used it ?

This is a squid question, not an openldap question.