summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-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);