Reworking of winbindd reconnect delay code

Jeremy Allison jra at
Tue Aug 19 22:24:32 GMT 2008

On Fri, Aug 15, 2008 at 06:44:42PM -0700, Jeremy Allison wrote:
> Volker, Michael & Jerry,
> As promised, here is a re-working of the winbindd
> reconnect code to cope with rebooting a DC. This
> replaces the code I asked Volker to revert.
> Not yet tested (other than compiles) but the
> logic is pretty simple. It adds a new parameter,
> "winbind reconnect delay", set to 30 seconds by
> default, which determines how long to wait between
> connection attempts. 
> To avoid overwhelming the box with DC-probe
> forked children, the code now keeps track of
> the DC probe child per winbindd_domain struct
> and only starts a new one if the existing one
> has died.
> I also added a little logic to make sure the
> dc probe child always sends a message whatever
> the reason for exit so we will always reschedule
> another connect attempt.
> Review & testing welcome :-).

Any comments on this before I add it to 3.3 ?


More information about the samba-technical mailing list