Add winbind:online check timeout parameter
commit9920473cc165e75ee9aa5cbb9e568eb5fb67e9e6
authorVolker Lendecke <vl@samba.org>
Mon, 19 May 2008 16:15:06 +0000 (19 18:15 +0200)
committerMichael Adam <obnox@samba.org>
Wed, 13 Aug 2008 09:40:35 +0000 (13 11:40 +0200)
treeb1f61d899127211b300b753dc3903ca77158fc02
parent3f884c4ae36f3260e63626bdd4989d9258ae6497
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
source/winbindd/winbindd_cm.c