summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_locator.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd/winbindd_locator.c')
-rw-r--r--source3/winbindd/winbindd_locator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_locator.c b/source3/winbindd/winbindd_locator.c
index f154f36c85..709fbcc5d1 100644
--- a/source3/winbindd/winbindd_locator.c
+++ b/source3/winbindd/winbindd_locator.c
@@ -67,7 +67,8 @@ static enum winbindd_result dual_dsgetdcname(struct winbindd_domain *domain,
DEBUG(3, ("[%5lu]: dsgetdcname for %s\n", (unsigned long)state->pid,
state->request.domain_name));
- result = dsgetdcname(state->mem_ctx, state->request.domain_name,
+ result = dsgetdcname(state->mem_ctx, winbind_messaging_context(),
+ state->request.domain_name,
NULL, NULL, state->request.flags, &info);
if (!NT_STATUS_IS_OK(result)) {