Re: [squid-users] External acl and authenticator mixup help

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Mon, 19 Aug 2013 11:03:10 +1200

On 19/08/2013 3:11 a.m., Romeo Mihalcea wrote:
> Gotcha! But how do I make the authenticator "stand down" if my
> external_acl_type returned OK?
>
> Something like:
>
> external_acl_type custom_acl %SRC /etc/changemyip/squid/config/acl.py
> acl CustomAcl external custom_acl
>
> acl user_1000 proxy_auth some_username !CustomAcl
>
> Would that make sense?

That makes sense like this:

    ACL "user_1000" := test username == "some_username" OR username ==
"!CustomAcl".

Please read the FAQ on how ACLs and access control directives are
configured:
  http://wiki.squid-cache.org/SquidFaq/SquidAcl#Common_Mistakes

It explains why ordering is important.

Amos
Received on Sun Aug 18 2013 - 23:03:16 MDT

This archive was generated by hypermail 2.2.0 : Mon Aug 19 2013 - 12:00:26 MDT