auth_param ntlm program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 50auth_param basic program /usr/local/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 10
auth_param basic credentialsttl 2 hours
external_acl_type nt_group %LOGIN /usr/local/libexec/squid/wbinfo_group.pl
### !Вот этого файла не было в версиях 3.3-3.5, потому копировал с версии 3.2 вручную. Впрочем, на решение проблемы это не повлияло.
# Example rule allowing access from your local networks.
# Adapt to list your (internal) IP networks from where browsing
# should be allowed
acl localnet src 192.168.0.0/20
acl samsungnet src 192.168.7.0/26
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 21 # ftp
acl Safe_ports port 443 # https
acl Safe_ports port 70 # gopher
acl Safe_ports port 210 # wais
acl Safe_ports port 1025-65535 # unregistered ports
acl Safe_ports port 280 # http-mgmt
acl Safe_ports port 488 # gss-http
acl Safe_ports port 591 # filemaker
acl Safe_ports port 777 # multiling http
acl CONNECT method CONNECT
acl POST method POST
acl inetuser proxy_auth REQUIRED
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access deny to_localhost
http_access allow all inetuser
#http_access allow localnet
http_access allow samsungnet
http_access allow localhost
http_access allow POST localnet
# And finally deny all other access to this proxy
http_access deny all
# Squid normally listens to port 3128
http_port 192.168.2.1:3128
redirect_program /usr/local/rejik3/redirector /usr/local/rejik3/redirector.conf
redirect_children 50
cache_dir rock /var/squid/cache/rock 5120 max-size=102400
access_log daemon:/var/log/squid/access.log squid
cache_log /var/log/squid/cache.log
# Leave coredumps in the first cache dir
coredump_dir /var/squid/cache/
# Add any of your own refresh_pattern entries above these.
refresh_pattern ^ftp: &n... 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320