Re: [squid-users] implementing squid ncsa authentication to different networks

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Tue, 19 Jan 2010 20:38:56 +1300

admin wrote:
> hi! i have a working squid ncsa authentication.
> i have this in my squid.conf:
>
> auth_param basic program /usr/lib64/squid/ncsa_auth /etc/squid/passwd
> auth_param basic children 5
> auth_param basic realm Squid proxy-caching web server
> auth_param basic credentialsttl 2 hours
> auth_param basic casesensitive off
>
> acl password proxy_auth REQUIRED
> acl employees src 192.168.0.0/24
> acl admin src 192.168.1.0/24
>
> http_access allow password
> http_access allow employees
> http_access allow admin
>
> this set up authenticates both the employees and admin acl.
> is it possible to set up squid to authenticate only the employees
> network but the admin network will not be authenticated? please guide

When understanding what you have configured the answer should appear
trivial...
   http://wiki.squid-cache.org/SquidFaq/OrderIsImportant

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE7 or 3.0.STABLE21
   Current Beta Squid 3.1.0.15
Received on Tue Jan 19 2010 - 07:39:06 MST

This archive was generated by hypermail 2.2.0 : Tue Jan 19 2010 - 12:00:03 MST