Bonjour,
J'ai suivi plusieurs tutorial sur squid avec authentification via ldap mais le resultats ne fonctionne pas
config :
Linux debian etch
squid 2.65-6
open ldap 2.3.30-5
samba 3.024
ma base ldap sembe fonctioner mais pas moyen qu'un utilisateur logger sur le domaine puisse avoir accés au cache du proxy meme si j'ai rajouté une entry description = internet
mon squid.conf
Code :
- http_port 3128
- icp_port 0
- hierarchy_stoplist cgi-bin ?
- acl QUERY urlpath_regex cgi-bin \?
- no_cache deny QUERY
- cache_mem 16 MB
- cache_dir diskd /var/spool/squid 200 16 256
- cache_access_log none
- cache_log none
- cache_store_log none
- debug_options ALL,1
- refresh_pattern ^ftp: 1440 20% 10080
- refresh_pattern ^gopher: 1440 0% 1440
- refresh_pattern . 0 20% 4320
- half_closed_clients off
- auth_param basic program /usr/lib/squid/ldap_auth -b ou=Users,dc=BIOPAJ,dc=LOCAL -f (&(uid=%s)(description=internet)) ldap://serveur
- auth_param basic children 5
- auth_param basic realm Squid proxy-caching web server
- auth_param basic credentialsttl 2 hour
- authenticate_ttl 1 hour
- authenticate_ip_ttl 60 second
- acl password proxy_auth REQUIRED
- acl all src 0.0.0.0/0.0.0.0
- acl manager proto cache_object
- acl localhost src 127.0.0.1/255.255.255.255
- acl CONNECT method CONNECT
- http_access allow manager localhost
- http_access deny manager
- http_access deny !Safe_ports
- http_access deny CONNECT !SSL_ports
- http_access allow localhost
- http_access allow password
- http_access deny all
- icp_access allow all
- miss_access allow all
- acl protocole_web proto HTTP
- http_access allow protocole_web
- acl protocole_ftp proto FTP
- http_access deny protocole_ftp
|
merci d'avance de vos conseils éclairer
Message édité par Krapaud le 05-10-2007 à 09:56:51