summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/winbindd/winbindd_dual.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index d958ed0110..916e8c07c7 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -1243,7 +1243,7 @@ static bool fork_domain_child(struct winbindd_child *child)
child);
}
- if (child->domain && !(child->domain->internal) &&
+ if (child->domain && child->domain->primary &&
lp_server_role() == ROLE_DOMAIN_MEMBER) {
struct timeval next_change;