Re: [squid-users] enabling X-Authenticated-user

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Wed, 07 Mar 2012 23:58:31 +1300

On 7/03/2012 4:49 p.m., Brett Lymn wrote:
> On Wed, Mar 07, 2012 at 03:44:23PM +1300, Amos Jeffries wrote:
>> cache_peer option of "login=PASS", with the external_acl_type helper
>> returning values in both user= and password= parameters.
>>
> OK, I must be doing something dumb. I have the following in the config:
>
> cache_peer upstream.parent parent 8080 7 login=PASS no-query default
>
> external_acl_type user_rewrite_type children=1 ttl=900 %LOGIN /opt/local/squid/bin/user_rewrite.pl
> acl user_rewrite external user_rewrite_type
>
> cache_peer_access upstream.parent allow user_rewrite

cache_peer_access is a "fast" group access list. This is why suggested
never/always _direct lists for the testing.

Amos
Received on Wed Mar 07 2012 - 10:58:37 MST

This archive was generated by hypermail 2.2.0 : Thu Mar 08 2012 - 12:00:02 MST