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

From: Aqil <aq1l@dont-contact.us>
Date: Thu, 24 Jul 2003 09:45:29 +0200 (CEST)

 --- Adam Aube <aaube@firstindependent.net> a écrit :
> Try this:
>
> 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
>
> http_access allow myusers ip_auth_acl

Ok thanks Adam & Henrik !
Ca marche a fond :)

Two more questions :

1. how to deny_info this item? Here is what I wrote :

external_acl_type ip_auth %SRC %LOGIN
/path/ip_user_check -f /path/ip_and_userID

acl ip_auth_acl external ip_auth

http_access allow myusers ip_auth_acl allclients

deny_info ERR_WRONG_IP_ADDRESS ip_auth_acl

But it doesn't work. It calls ERR_ACCESS_DENIED
instead.

2. I've got %i to print the client IP Address, what
should I have to print the user's ID trying to access
squid ?

> Adam
> ---

TIA & regards,
aqil

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
Received on Thu Jul 24 2003 - 01:45:33 MDT

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