diff options
author | Günther Deschner <gd@samba.org> | 2006-06-22 20:31:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:18:55 -0500 |
commit | 025b5463926670c5bf49da0baaff26e77bd9697e (patch) | |
tree | 01f7fefa4cefc0dfec282be990486ca96dde82e2 /source3/nsswitch | |
parent | 4e7e7318492ed417899f19db2a133509b17f825a (diff) | |
download | samba-025b5463926670c5bf49da0baaff26e77bd9697e.tar.gz samba-025b5463926670c5bf49da0baaff26e77bd9697e.tar.bz2 samba-025b5463926670c5bf49da0baaff26e77bd9697e.zip |
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)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_dual.c | 2 |
1 files changed, 1 insertions, 1 deletions
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(), |