From b59412e6bfdfbd361ddcb1a653b6189a763e92b2 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 7 Dec 2006 00:08:10 +0000 Subject: r20058: Ensure we actually do the increasing time calculation when in offline mode. Jeremy. (This used to be commit b7dc67ab2a78aba8dc8324430798ef56325d3cd6) --- source3/nsswitch/winbindd_cm.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 4044bb71ee2..b6a65664571 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -171,9 +171,7 @@ void set_domain_offline(struct winbindd_domain *domain) /* If we're in statup mode, check again in 10 seconds, not in lp_winbind_cache_time() seconds (which is 5 mins by default). */ - if (domain->check_online_timeout == 0) { - calc_new_online_timeout(domain); - } + calc_new_online_timeout(domain); domain->check_online_event = add_timed_event( NULL, timeval_current_ofs(domain->check_online_timeout,0), -- cgit