[squid-users] ACL using NTLM with Winbind

From: Joao Coutinho <jocoutinho@dont-contact.us>
Date: Fri, 11 Apr 2003 14:01:39 +0000

Hi all,
I'm authenticating my proxy with my NT Domain. It's working fine.
I want to grant full access just for a group of people. The rest, only if
they pass all other acls. Can someone help me with that? Thanks. Below are
some lines of my squid.conf:

auth_param ntlm program /usr/local/squid/libexec/wb_ntlmauth
auth_param ntlm children 5
auth_param ntlm max_challenge_reuses 0
auth_param ntlm max_challenge_lifetime 2 minutes
auth_param basic program /usr/local/squid/libexec/wb_auth
auth_param basic children 5
auth_param basic realm Squid proxy-caching web server
auth_param basic credentialsttl 2 hours

acl localnegados src "/usr/local/squid/etc/ipnegados"
acl proibido dstdomain "/usr/local/squid/etc/negados"
acl porn url_regex "/usr/local/squid/etc/blocklist"
acl allowlist url_regex "/usr/local/squid/etc/allowlist"
acl sitescomsenha url_regex "/usr/local/squid/etc/sitescomsenha"
acl all proxy_auth REQUIRED
http_access deny localnegados
http_access deny porn !allowlist
http_access allow purge localhost
http_access deny purge
http_access deny proibido !allowlist
http_access allow localhost
http_access allow All !sitescomsenha

_________________________________________________________________
MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
Received on Fri Apr 11 2003 - 08:14:09 MDT

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