[squid-users] Browser fails to prompt for authentication

From: Fred Evans <fred@dont-contact.us>
Date: 19 Jun 2003 08:57:05 -0700

I have just installed squid 2.5STABLE1 on Redhat 9. I used the RPM
included with the Redhat distro. Everything worked fine with the
default config file. When I changed the config file to require
authentication I used the instructions at this URL:

http://www.squid-cache.org/Doc/FAQ/FAQ-23.html

I added a auth_param line for ncsa_auth rather than an
authenticate_program line as suggested in the FAQ. It appears that the
format has changed since the FAQ was updated.

I then added an ACL
acl users proxy_auth REQUIRED

and an http_access line:
http_access allow users

I would expect that with this config, the browser would prompt for a
username and password. It does not. It simply displays the squid
message that access is denied until authenticated.

I have tested the ncsa_auth program and password file on the command
line and they work.

I added the debug options for access controls, and then checked the
cache.log file. The lines suggest that:
The request ... is DENIED because it matches users

thus, it appears that access is being denied because of the proxyauth
acl without ever asking for authentication.

Am I missing something here?
Received on Thu Jun 19 2003 - 10:00:42 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:27 MST