On Thu, 19 Jun 2003, Adam Aube wrote:

> 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:[EMAIL PROTECTED]
> Sent: Thursday, June 19, 2003 11:57 AM
> To: [EMAIL PROTECTED]
> 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/2001
> 

-- 
-------------------------------------------------------------------------- 
Joel Jaeggli          Academic User Services   [EMAIL PROTECTED]    
--    PGP Key Fingerprint: 1DE9 8FCA 51FB 4195 B42A 9C32 A30D 121E      --
  In Dr. Johnson's famous dictionary patriotism is defined as the last
  resort of the scoundrel.  With all due respect to an enlightened but
  inferior lexicographer I beg to submit that it is the first.
                            -- Ambrose Bierce, "The Devil's Dictionary"


Reply via email to