On Mon, May 17, 2010 at 07:55:47AM -0400, Stephen Gallagher wrote:
I don't think it makes sense to do it in be_mark_offline. I'd
that for other servers like LDAP we'd maintain affinity for the server
we currently know works.
But I might be convinced. What are everyone else's thoughts?
ok, resetting all the resolver data is not a good idea. Please find
attached a new series of patches which tries to only do what is really
This new patch adds a flag and a function to set it to request that
the callbacks are run the next time the resolver is called.
This patch new set the run_callbacks flag only for the KDC and if
available for the kpasswd service.
This new patch adds an offline callback to the LDAP/IPA id provider
which set the connected flag of the global SDAP handle to false.
Otherwise this connection will still be used if the transition to
the offline state was triggered by SIGUSR1 or an other provider.