Hi all,
I trying use a getpwname_auth auth method on my squid
and itś not working ( maybe is a ACL issue)
I have only 30 users on this server and need to use a
chetcpasswd.cgi to enable my users change their own
passwords...
Since I tried use a NCSA auth, the squid work fine ...
But I can use this method because the change password
infrastructure that I using.
the problem is all time that I try access to the
internet web page, get a authentication request in
loop, on the access.log I get this error
127.0.0.1 - dust [19/Nov/2005:13:58:36 -0200] "GET
http://www.google.com.br/ HTTP/1.1" 407 1752
TCP_DENIED:NONE
all time ...
I already verify if the password is correct and it is
...
so, need help
look at my ACLs:
auth_param basic program
/usr/local/squid/libexec/getpwname_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive on
#Suggested default:
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 0 20% 4320
#Recommended minimum configuration:
acl all src 0.0.0.0/0.0.0.0
acl manager proto cache_object
acl to_localhost dst 127.0.0.0/8
acl SSL_ports port 443 563
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 563 # https, snews
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl auth_users proxy_auth REQUIRED
http_access allow auth_users
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access deny all
I using a squid-2.5.STABLE12
configure options:
./configure --prefix=/usr/local/squid
--enable-cache-digests
--enable-err-languages=Portuguese
--disable-http-violations --with-large-files
--enable-underscores
--enable-basic-auth-helpers=getpwnam
On a Linux Mandriva 2006
thanks a lot in advance
Alexandre
/bin/laden/boom.sh
_______________________________________________________
Yahoo! Acesso Grátis: Internet rápida e grátis.
Instale o discador agora!
http://br.acesso.yahoo.com/
Received on Sat Nov 19 2005 - 09:14:22 MST
This archive was generated by hypermail pre-2.1.9 : Thu Dec 01 2005 - 12:00:10 MST