MVVIV
(usa CentOS)
Enviado em 05/06/2015 - 15:52h
Pessoal, não sei mais o que fazer, o meu Squid não quer funcionar... consigo trazer os grupos e os usuários do AD (wbinfo -g wbinfo -u)... Serviços do Kerberos, Winbind, Samba e Squid ativos... poderiam me ajuda?? Obrigado!
Segue Squid.conf
acl flex1 src 10.240.1.0/25
acl flex2 src 10.240.0.0/16
acl flex3 src 172.16.7.0/24
acl flex4 src 172.16.4.0/24
acl localnet src 172.16.0.0/12 # RFCⅱ1918 possible internal network
#acl localnet src 192.168.0.0/16 # RFC1918 possible internal network
#acl localnet src fc00::/7 # RFC 4193 local private network range
#acl localnet src fe80::/10 # RFC 4291 link-local (directly plugged) machines
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
visible_hostname Proxy_Squid.localdomain
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 30
auth_param ntlm keep_alive on
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
external_acl_type grupo_ad %LOGIN /usr/lib64/squid/ext_wbinfo_group_acl
acl grp-Admin external grupo_ad PROXY_ADM
acl grp-Users external grupo_ad PROXY_USERS
acl grupo_liberado dstdomain -i "/etc/squid/liberados.acl"
acl bloqueado dstdomain -i "/etc/squid/bloqueados.acl"
http_access deny grp-Users
http_access allow grp-Admin
http_access allow grupo_liberado
http_access deny bloqueado
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localhost manager
http_access deny manager
http_access allow localnet
http_access allow localhost
http_access allow flex1
http_access allow flex2
http_access allow flex3
http_access allow flex4
http_port 3128
cache_dir ufs /var/spool/squid 100 16 256
coredump_dir /var/spool/squid
cache_log /var/log/squid/access.log
refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern -i (/cgi-bin/|\?) 0 0% 0
refresh_pattern . 0 20% 4320