Add winbind:online check timeout parameter
authorVolker Lendecke <vl@samba.org>
Mon, 19 May 2008 16:15:06 +0000 (18:15 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 13 Aug 2008 09:40:35 +0000 (11:40 +0200)
commit5a3642d5aa725b0a54e6e303e1afdbfefdb81de7
tree0e917db894c6c37bf40be391177d0ae5073422f3
parent9b987e3923f7e8714acec6a2929435b1e6016645
Add winbind:online check timeout parameter

This is a band-aid for the rather convoluted offline/online mess in winbind
right now. Winbind re-uses the offline functionality that is targeted at domain
client installations on laptops to not overload disfunctional DCs. It uses the
winbind cache timeout as the retry timeout after a DC reboot.

I am using a parametric options because when this mess is cleaned up, that
parameter needs to go away again.

I'd recommend to use something like

winbind:online check timeout = 30

in typical LAN environments. This means a reconnect is attempted every 30
seconds.

Volker
(This used to be commit 9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6)
source3/winbindd/winbindd_cm.c