summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-02-01 12:24:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:38 -0500
commitf2b8db93c4e6aba0b48453619069bc54af45f353 (patch)
tree25ad9bc57be351f0e676e101da325acf8993db1d
parentdbf7a692edba88e0d609142f1ed11445bc7e841a (diff)
downloadsamba-f2b8db93c4e6aba0b48453619069bc54af45f353.tar.gz
samba-f2b8db93c4e6aba0b48453619069bc54af45f353.tar.bz2
samba-f2b8db93c4e6aba0b48453619069bc54af45f353.zip
r21106: We neither need a account lockout policy handler nor a check domain
online handler for internal (local SAM, BUILTIN) childs. Jeremy, please check. Guenther (This used to be commit 7d0e2e70684a7e3d377f56ed0244ed136b0b1a99)
-rw-r--r--source3/nsswitch/winbindd_dual.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index 0dacf4c385..edb4fa504b 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -877,7 +877,8 @@ static BOOL fork_domain_child(struct winbindd_child *child)
"krb5_ticket_refresh_handler");
/* We might be in the idmap child...*/
- if (child->domain && lp_winbind_offline_logon()) {
+ if (child->domain && !(child->domain->internal) &&
+ lp_winbind_offline_logon()) {
set_domain_online_request(child->domain);