--- Adam Aube <[EMAIL PROTECTED]> 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

Reply via email to