summaryrefslogtreecommitdiff
path: root/source3/winbindd/wb_dsgetdcname.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/wb_dsgetdcname.c')
-rw-r--r--source3/winbindd/wb_dsgetdcname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/wb_dsgetdcname.c b/source3/winbindd/wb_dsgetdcname.c
index fdd9a6d7df..207d1b61ea 100644
--- a/source3/winbindd/wb_dsgetdcname.c
+++ b/source3/winbindd/wb_dsgetdcname.c
@@ -64,7 +64,7 @@ struct tevent_req *wb_dsgetdcname_send(TALLOC_CTX *mem_ctx,
child = locator_child();
} else {
struct winbindd_domain *domain = find_our_domain();
- child = &domain->child;
+ child = choose_domain_child(domain);
}
if (domain_guid != NULL) {