Search squid archive

Re: Denying user access based on proxy_auth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tis 2006-05-02 klockan 09:05 -0700 skrev Geoff Varney:

> acl denied_users proxy_auth_regex -i '/etc/squid2/denied_users'
> 
> where the denied_users file has a list of users who are not allowed access
> in the form of: john.smith

shouldn't that be a proxy_auth acl, not proxy_auth_regex?

> name "smith" to my denied_users file.  Now not only is "smith" denied
> access, but also "john.smith".

Right, and this is because you are using the regex variant of the ACL so
what you place in the file should be regex patterns, not usernames.

  man 7 regex

>   I have tried removing the regex piece (acl
> denied_users proxy_auth '/etc/squid2/denied_users' and that doesn't seem to
> block anyone.

Should work.

>  I have also tried (with and without regex piece) making the
> names in denied_users in the form of domain\john.smith, but that also
> doesn't block anyone.

What does access.log say in the username field? The list of users needs
to follow the same format (minus URL-encoding).

Regards
Henrik

Attachment: signature.asc
Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad meddelandedel


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux