Re: [squid-users] User Authentication

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Thu, 23 Dec 2004 12:47:55 +0100 (CET)

On Thu, 23 Dec 2004, Mohammad Shoaib Irtaza wrote:

> external_acl_type mynet concurrency=10 ttl=4400 negative_ttl=1 %LOGIN /etc/squid/access.pl
> acl mynet external mynet
> http_access deny !mynet
> deny_info index.php mynet
>
> Can this helper be used to provide squid with the authentication information.

No, authentication is done separately via the auth_param directive. Your
external_acl_type automatically triggers the request for authentication
when used due to the %LOGIN key in the same manner as an proxy_auth acl
would. Both relies on authentication to have been configured in
auth_param for the actual authentication.

You can make external acl helpers return login name information for the
purpose of logging in Squid-2.5, but the session must then be based on
some other key (usually the source IP of the user).

Regards
Henrik
Received on Thu Dec 23 2004 - 04:47:59 MST

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