luizsnike
(usa Debian)
Enviado em 17/09/2012 - 21:36h
Pessoa, estou com problemas quando executo o comando
root@Squid:/etc/squid/lists# /etc/init.d/squid restart
Restarting Squid HTTP proxy: squidFATAL: Bungled squid.conf line 47: acl proxy_liberado external ldap_group PROXY_LIBERADO
Squid Cache (Version 2.7.STABLE9): Terminated abnormally.
meu sistema está com SAMBA - WINBIND - SQUID - SARG, já configurei tudo, testei ele acessa a base do Ad trás os Grupos e Usuários tudo certinho, mas quando mando ele reinicar da esse erro alguém pode dar uma luz ?
Meu Squid.conf
#CONFIGURACOES DIVERSAS
http_port 8080
visible_hostname SQUID
cache_mem 256 MB
maximum_object_size_in_memory 2 MB
maximum_object_size 100 MB
minimum_object_size 3 Kb
#CONFIGURACAO DE CACHE E LOG
cache_swap_low 90
cache_swap_high 95
cache_dir ufs /var/spool/squid/ 5000 16 256
access_log /var/log/squid/access.log squid
#ACL DE REDE
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl redelocal src 10.0.1.0/255.255.255.0
#AUTENTICA LDAP
auth_param basic realm "Para acessar é necessário a senha"
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param ntlm children 5
#auth_param ntlm max_challenge_reuses 0
#auth_param ntlm max_challenge_lifetime 30 minutes
#auth_param ntlm use_ntlm_negotiate off
#LIBERA PORTAS
acl SSL_ports port 443
acl Safe_ports port 80 # http
acl Safe_ports port 83 # 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 ACESSOS
acl password proxy_auth REQUIRED
# Administradores - Acesso total liberado
acl proxy_liberado external ldap_group PROXY_LIBERADO
# Grupo para acesso a Internet
acl proxy_padrao external ldap_group PROXY_GERAL
# Grupo para acesso ao Sites Financeiros
acl proxy_financeiro external ldap_group PROXY_FINANCEIRO
########## Regras de bloqueio/desbloqueio de conteudo ###############
# Sites que nao precisam de autenticacao
acl sites_sem_autenticacao dstdom_regex -i "/etc/squid/lists/sites_sem_autenticacao"
# Controle de uso do FINANCEIRO
acl sites_financeiro urlpath_regex -i "/etc/squid/lists/sites_financeiro"
#acl msn_ips dst -i "/etc/squid/lists/msn_ips"
# Controle de downloads
acl downloads_proibidos urlpath_regex -i "/etc/squid/lists/downloads_proibidos"
acl downloads_permitidos urlpath_regex -i "/etc/squid/lists/downloads_permitidos"
# Controle de palavras
acl palavras_proibidas url_regex -i "/etc/squid/lists/palavras_proibidas"
#acl palavras_permitidas url_regex -i "/etc/squid/lists/palavras_permitidas"
# Controle de dominios
acl sites_proibidos dstdom_regex -i "/etc/squid/lists/sites_proibidos"
acl sites_permitidos dstdom_regex -i "/etc/squid/lists/sites_permitidos"
# Controle de URL's
acl urls_proibidas url_regex -i "/etc/squid/lists/urls_proibidas"
acl urls_permitidas url_regex -i "/etc/squid/lists/urls_permitidas"
################# Configuracao das regras: ############
#Libera Squid
http_access allow localhost
# Libera sites sem autenticacao
http_access allow sites_sem_autenticacao
# Libera acesso total para administradores
http_access allow password proxy_liberado
# Controle de uso do Financeiro
http_access allow password proxy_financeiro
http_access allow sites_financeiro
#http_access deny msn_ips !proxy_financeiro
# Controle de downloads
http_access deny downloads_proibidos
# !downloads_permitidos !sites_permitidos !urls_permitidas
# Controle de palavras
http_access deny palavras_proibidas
#!sites_permitidos !urls_permitidas
# Controle de sites
http_access deny sites_proibidos
# Controle de URL's
http_access deny urls_proibidas
#!urls_permitidas
# Libera acesso para usuarios autenticados
http_access allow password proxy_padrao
#BLOQUEIA OUTROS ACESSOS
http_access deny all
#############################################################################
#BLOQUEIA ACESSO PARA OUTRAS PORTAS
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
# GUARDAR ARQUIVOS DO WINDOWS UPDATE
refresh_pattern windowsupdate.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern download.microsoft.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern
www.microsoft.com/.*\.(cab|exe|dll|msi) 10080 100% 43200 reload-into-ims
refresh_pattern au.download.windowsupdate.com/.*\.(cab|exe|dll|msi) 4320 100% 43200 reload-into-ims
#ICP
icp_access allow redelocal
icp_access deny all
#NAO GUARDA CGI
hierarchy_stoplist cgi-bin ?
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
acl shoutcast rep_header X-HTTP09-First-Line ^ICY.[0-9]
upgrade_http0.9 deny shoutcast
acl apache rep_header Server ^Apache
broken_vary_encoding allow apache
error_directory /usr/share/squid/errors/pt-br