mirror of
https://github.com/samba-team/samba.git
synced 2024-12-25 23:21:54 +03:00
79150da70b
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.
(This used to be commit 8027197635
)
16 lines
587 B
XML
16 lines
587 B
XML
<samba:parameter name="winbind reconnect delay"
|
|
context="G"
|
|
type="integer"
|
|
advanced="1" developer="1"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
<para>This parameter specifies the number of
|
|
seconds the <citerefentry><refentrytitle>winbindd</refentrytitle>
|
|
<manvolnum>8</manvolnum></citerefentry> daemon will wait between
|
|
attempts to contact a Domain controller for a domain that is
|
|
determined to be down or not contactable.</para>
|
|
</description>
|
|
|
|
<value type="default">30</value>
|
|
</samba:parameter>
|