[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4200) proxycache: ldapsearch will not go back to the first ldap server

On Tue, 2005-11-22 at 22:58 +0000, ashish@ratboy.net wrote:
> Full_Name: Ashish Gawarikar
> Version: 2.3.11
> OS: any Linux 2.6 or Redhat 4.0
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> 1) set two ldap servers in slapd.conf file, 
> uri "ldap://example1.example.com/ ldap://example2.example.com/";
> 2) shutdown the first ldap server on example1.example.com
> 3) do some queries, they will always be against the second server.
> 4) bring up the first ldap server, the new queries never go to first ldap
> server. I waited for 2:30 hours, the fallback to original ldap server never
> happened, when the slapd is restarted it will go back to the original ldap
> server (example1)

That's because back-ldap caches connections; connections already
established with the second server will persist until they are closed on
either side (e.g. by the remote server with idletimeout, or by the proxy
when shutting down or when something happens).


Ing. Pierangelo Masarati
Responsabile Open Solution

SysNet s.n.c.
Via Dossi, 8 - 27100 Pavia - ITALIA
Office:   +39.02.23998309          
Mobile:   +39.333.4963172
Email:    pierangelo.masarati@sys-net.it