From 025b5463926670c5bf49da0baaff26e77bd9697e Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 22 Jun 2006 20:31:02 +0000 Subject: r16474: There is no point in figuring out lockout policies if we do not allow offline logons at all. Guenther (This used to be commit dfbe555c69b3272bcff1d76a699aae2bdb85bdaf) --- source3/nsswitch/winbindd_dual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index 3003a314c0..4b92d78d79 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -730,7 +730,7 @@ static BOOL fork_domain_child(struct winbindd_child *child) return False; } - if (child->domain != NULL) { + if (child->domain != NULL && lp_winbind_offline_logon()) { /* We might be in the idmap child...*/ child->lockout_policy_event = add_timed_event( child->mem_ctx, timeval_zero(), -- cgit