What do the auth_param lines in squid.conf look like?
How did you create the username:password file? Is it readable by the UID
Squid runs as?
How is the browser configured? Were you running a transparent proxy before
you turned authentication on?
Adam
-----Original Message-----
From: Fred Evans [mailto:fred@querymagic.com]
Sent: Thursday, June 19, 2003 11:57 AM
To: squid-users@squid-cache.org
Subject: [squid-users] Browser fails to prompt for authentication
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?
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/2001Received on Thu Jun 19 2003 - 10:18:15 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:17:27 MST