Here is a re-working of the winbindd
commit1d87a36cb08f1aca093164d7ddb9ba1f077ebf61
authorJeremy Allison <jra@samba.org>
Wed, 20 Aug 2008 23:23:13 +0000 (20 16:23 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 20 Aug 2008 23:23:13 +0000 (20 16:23 -0700)
treeca9133ca92d01865d3eef579747c14f7506ce3ed
parent53cb5c7336d898c75915b9ab368069b087ca61f5
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.
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.
Also added documentation.
Jeremy.
docs-xml/smbdotconf/winbind/winbindreconnectdelay.xml [new file with mode: 0644]
source/include/proto.h
source/param/loadparm.c
source/winbindd/winbindd.h
source/winbindd/winbindd_cm.c
source/winbindd/winbindd_util.c