summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-08 18:32:22 +0200
committerGünther Deschner <gd@samba.org>2008-05-09 14:59:20 +0200
commit67c644aa591c051cfe1e3f3536186ecf0b4449f2 (patch)
treec32fad2091649b7d47c3210bfb08a7b2e2bc791a /source3/winbindd
parentc58ab8f3b251f9fbf79fc8a528717e0756c02a76 (diff)
downloadsamba-67c644aa591c051cfe1e3f3536186ecf0b4449f2.tar.gz
samba-67c644aa591c051cfe1e3f3536186ecf0b4449f2.tar.xz
samba-67c644aa591c051cfe1e3f3536186ecf0b4449f2.zip
dsgetdcname: use existing messaging_context if possible.
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
Diffstat (limited to 'source3/winbindd')
-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)) {