[squid-users] Re: User Authentication

From: Adam Aube <aaube01@dont-contact.us>
Date: Fri, 24 Dec 2004 10:02:31 -0500

Mohammad Shoaib Irtaza wrote:

> I have downloaded ip_user and compiled it on my
> RH9 machine. I am runnig squid2.5.s1
> I have created the configuration files according to
> the readme file provided in the downloaded.
>
> My entries in squid include
>
> external_acl_type srcip %SRC %LOGIN /etc/squid/ip_user_check -f
> /usr/etc/example.conf
> acl mynet external srcip
> http_access allow mynet
> http_access deny all
>
> my example.conf includes
> 0.0.0.0/0.0.0.0 NONE
> 10.0.0.6 ALL
>
> when I try accessing any site it gives me with
>
> ERROR:Cache Access Denied
>
> Sorry, you are not currently allowed to request:
>
> http://www.hotmail.com/
>
> from this cache until you have authenticated yourself.
>
> I dont know what a seems to be the problem. I have gone
> through the configuration files but find nothing.
> Am I missing something? Please help.

Yes - you are not using any authentication, which your external_acl setup
requires (due to its use of %LOGIN).

See the Authentication FAQ for help on setting it up:

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

Adam
Received on Fri Dec 24 2004 - 08:03:01 MST

This archive was generated by hypermail pre-2.1.9 : Sat Jan 01 2005 - 12:00:03 MST