Here is a re-working of the winbindd
authorJeremy Allison <jra@samba.org>
Wed, 20 Aug 2008 23:24:22 +0000 (16:24 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 20 Aug 2008 23:24:22 +0000 (16:24 -0700)
commit8027197635b988b3dcf9d3d00126a024e768fa62
tree5d392659cec92124c6fa2659bdee4cf58d7cbd2d
parente5c4cbbf5a4b3e5db1732043a74cd1f4a5eec136
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