On Sat, 5 Feb 2005, [ISO-8859-1] Flávio Henrique wrote:
But I trying to use external_acl_type too, but not working. Always I got Access Denied, even when the script returns OK (at least I got "OK" in console).
Is there any errors from "squid -k parse"?
Did you try the script running as your cache_effective_user or as root? Many permission errors go unnoticed when testing helpers as root.
external_acl_type autorizacao %LOGIN "/etc/squid/modulos/users.sh"
acl autorizados external autorizacao
acl LAN1 src 192.168.100.0/24 http_access allow LAN1 autorizados http_access deny all
Looks fine to me. No obvious configuration errors from what I can tell.
Regards Henrik