r21106: We neither need a account lockout policy handler nor a check domain
authorGünther Deschner <gd@samba.org>
Thu, 1 Feb 2007 12:24:08 +0000 (12:24 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:38 +0000 (12:17 -0500)
online handler for internal (local SAM, BUILTIN) childs. Jeremy, please
check.

Guenther
(This used to be commit 7d0e2e70684a7e3d377f56ed0244ed136b0b1a99)

source3/nsswitch/winbindd_dual.c

index 0dacf4c385ee33ae8891ab2aeda101a27d959e14..edb4fa504b11420ba3c4095cca3bc53faa306b6c 100644 (file)
@@ -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);