> -----Original Message-----
> From: ROUTIER Gilles [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 25, 2005 5:49 AM
> To: [email protected]
> Subject: [squid-users] Cache Authentitifaction LDAP
> 
> 
> Hy,
> 
> I use squid_ldap_auth for the authentification.
> 
> I would like to know if squid carries out a request LDAP in 
> each consulted
> page ? 
> 
> My conf ?
> 
> auth_param basic program /usr/lib/squid/squid_ldap_auth -f uid=%s -b
> ou=cicoa,o=cnamts,c=fr -h 55.7.4.62 -p 389
> auth_param basic children 10
> auth_param basic realm Proxy Squid - Authentification pour 
> accès Internet
> auth_param basic credentialsttl 1 hours

You have specified credentials be cached for 1 hour.  It goes something like 
this:

* New user connects
* Squid prompts for authentication
* User provides authentication
* Squid verifies data (LDAP Query)
* Every subsiquent request for the next hour squid uses cached authentication 
data
* After one hour if the same user attempts surfing squid sends new query to 
LDAP server

> 
> I would not like only squid overload directory LDAP with 
> requests LDAP with
> each consultation of pages. 
> 
> Thank you in advance,
> Gil From France
> 
> 

Chris

Reply via email to