Re: authentication in squid 2.x

From: Kendall Lister <kendall@dont-contact.us>
Date: Mon, 21 Feb 2000 16:27:16 +1100 (EST)

On Sun, 20 Feb 2000, Jim Chivas wrote:

> I received several suggestions on how to authenticate users. I have
> tried installing ncsa example but I do not get asked for a
> userid/password when I use the proxy. I have added the folloiwmng to
> my squid.conf file:
>
> authentication_program <path to ncsa program> <path to passwd file>
>
> acl auth proxy_auth REQUIRED
>
> proxy_auth_realm Internet Access
>
> Could it be that the following acl is somehow overriding auth by allowing
> access to the proxy for all my local ip ranges first.
>
> acl allowed_hosts src x.x.x.x

Are you actually using 'http_access' lines with your ACLs? By themselves
the ACLs are simply descriptions of potential rules - they have to be used
to take effect.

Try:

http_access allow auth
http_access deny

to test your authentication.

--
 Kendall Lister, Systems Operator for Charon I.S. - kendall@charon.net.au
  Charon Information Services - Friendly, Cheap Melbourne ISP: 9589 7781
Received on Sun Feb 20 2000 - 22:37:31 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:51:22 MST