summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-12-07 00:08:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:23 -0500
commitb59412e6bfdfbd361ddcb1a653b6189a763e92b2 (patch)
treea2f406c59ceff4b656660b09a6b5193e85e459bd
parent155083547af5d50c485d60319f7a329842b83c82 (diff)
downloadsamba-b59412e6bfdfbd361ddcb1a653b6189a763e92b2.tar.gz
samba-b59412e6bfdfbd361ddcb1a653b6189a763e92b2.tar.bz2
samba-b59412e6bfdfbd361ddcb1a653b6189a763e92b2.zip
r20058: Ensure we actually do the increasing time
calculation when in offline mode. Jeremy. (This used to be commit b7dc67ab2a78aba8dc8324430798ef56325d3cd6)
-rw-r--r--source3/nsswitch/winbindd_cm.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c
index 4044bb71ee..b6a6566457 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),