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

RE: gentlehup

> -----Original Message-----
> From: Kurt D. Zeilenga [mailto:Kurt@OpenLDAP.org]

> At 02:45 AM 2002-08-16, Howard Chu wrote:
> >The main intent is to allow starting a new instance of slapd without
> >disturbing existing clients.
> Then I think you need to consider a very early fork() and
> descriptor passing.  This way the old server can pass
> clients to the new server as the clients outstanding
> operations complete.

That's taking things a step further than I was considering. We would need
to pass a bit of session context - authenticated/bind DN, authz backend, etc.
as well. Possibly the authz backend was de-configured/moved to a new server,
in which case the session cannot validly continue on the new instance.

Let me restate the purpose - to allow reconfiguring and restarting the LDAP
service without creating a window where no service is available. I.e., no
client should ever see the TCP error "connection refused" due to the
But I'm OK with the client getting an LDAP error LDAP_UNAVAILABLE or
LDAP_UNWILLING_TO_PERFORM that forces the client to unbind and rebind.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support