#1 Le 27/11/2007, à 16:02
- osagnier
Squid 2.6
Bonjour à tous,
Je viens d installer squid avec authentification active directory grace ce lien à http://doc.ubuntu-fr.org/squid_authenti … _directory . Lorsque je lance squid j 'ai le message suivant :
Invalid Proxy Auth ACL 'acl ntlm proxy_auth REQUIRED' because no authentication schemes are fully configured
Je communique bien avec mon domaine active directory. De ou vient le probleme et comment le resoudre.
Merci pour vos reponses
Hors ligne
#2 Le 28/11/2007, à 15:19
- osagnier
Re : Squid 2.6
ca fonctionne avec ceci
auth_param ntlm program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp
auth_param ntlm children 10
#auth_param ntlm max_challenge_reuses 0
#auth_param ntlm max_challenge_lifetime 2 minutes
#auth_param ntlm use_ntlm_negotiate off
auth_param basic program /usr/bin/ntlm_auth --helper-protocol=squid-2.5-basic
auth_param basic children 5
auth_param basic realm Domain Proxy Server
auth_param basic credentialsttl 2 hours
auth_param basic casesensitive off
authenticate_cache_garbage_interval 10 seconds
# Credentials past their TTL are removed from memory
authenticate_ttl 0 seconds
Make sure you add the relevant ACL statements to force proxy authentication, eg:
acl lcl src 192.168.0.0/16
acl auth proxy_auth REQUIRED
http_access allow lcl auth
http_access deny all
miss_access allow all
icp_access deny all
Hors ligne
#3 Le 28/11/2007, à 16:14
- ostyll
Re : Squid 2.6
Alors je crois que il ya beaucoup d'options squid qui ont change avec la version 2.6 moi je te conseille d'aller sur le site de squid de regarder les options qui ont changer je pense que sa va t'aider je joint le lien :
http://www.squid-cache.org/Versions/v2/2.6/cfgman/
Je te donne un exemple :
Pour activer le squid transparent de squid < 2.6 c'est l'option
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
Tandis que dans la version 2.6 c'est :
http_port addresip:port transparent
Hors ligne