[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Dansguardian + Squid - Autenticação - Solução



Valeu pela ajuda Catim.
Mas quais versões você testou?

Tb estou utilizando essa configuração, no entanto, na versão 2.9.7.0 o log não mostra o usuário se não for setada o parâmetro "authplugin". O engraçado é que eles dizem que não é necessário utilizar essa opção se não estiver sendo usado mais de um grupo.

# Auth plugins
# These replace the usernameidmethod* options in previous versions. They
# handle the extraction of client usernames from various sources, such as
# Proxy-Authorisation headers and ident servers, enabling requests to be
# handled according to the settings of the user's filter group.
# Multiple plugins can be specified, and will be queried in order until one
# of them either finds a username or throws an error. For example, if Squid
# is configured with both NTLM and Basic auth enabled, and both the 'proxy-basic' # and 'proxy-ntlm' auth plugins are enabled here, then clients which do not support
# NTLM can fall back to Basic without sacrificing access rights.
#
# If you do not use multiple filter groups, you need not specify this option.
#
authplugin = '/etc/dansguardian/authplugins/proxy-basic.conf'
#authplugin = '/etc/dansguardian/authplugins/proxy-ntlm.conf'
#authplugin = '/etc/dansguardian/authplugins/ident.conf'
#authplugin = '/etc/dansguardian/authplugins/ip.conf'


catim escreveu:
Olá Wendell,

Dê uma olhada em seu dansguardian.conf e veja como estão as linhas referentes aos logs.

Eu deixo sempre no padrão:

reportinglevel = 3
languagedir = '/etc/dansguardian/languages'
language = 'portuguese'
loglevel = 3
logexceptionhits = on
logfileformat = 1
loglocation = '/var/log/dansguardian/access.log'

E ele loga tudo que preciso em qualquer versão do dansguardian.
Espero que ajude...



Reply to: