Re: [squid-users] How to have squid communicate with external acl

From: Henrik Nordstrom <hno@dont-contact.us>
Date: 23 Jul 2003 19:52:33 +0200

ons 2003-07-23 klockan 07.40 skrev Aqil:

> After being able to read OK or ERR, squid also (still)
> have to authenticate the user with their password..

Squid authenticates the user as soon as it encounters any acl requiring
a user name in http_access. The acl types requiring authentication
includes

  proxy_auth
  proxy_auth_regex
  external, referring to a external_acl_type using %LOGIN

> Here is what i am trying, but it seems not work.
>
> acl myusers proxy_auth REQUIRED
>
> external_acl_type ip_auth %SRC %LOGIN
> /path/ip_user_check -f /path/ip_and_userID
>
> acl ip_auth_acl external ip_auth ip_auth_acl
>
> http_access allow ip_auth_acl myusers
>
> Any help ?

Looks good to me. You can actually drop the myusers acl type as it is
redundant.

-- 
Donations welcome if you consider my Free Squid support helpful.
https://www.paypal.com/xclick/business=hno%40squid-cache.org
Please consult the Squid FAQ and other available documentation before
asking Squid questions, and use the squid-users mailing-list when no
answer can be found. Private support questions is only answered
for a fee or as part of a commercial Squid support contract.
If you need commercial Squid support or cost effective Squid and
firewall appliances please refer to MARA Systems AB, Sweden
http://www.marasystems.com/, info@marasystems.com
Received on Wed Jul 23 2003 - 11:52:39 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:18:15 MST