summaryrefslogtreecommitdiff
path: root/source3/utils
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/utils
parentc58ab8f3b251f9fbf79fc8a528717e0756c02a76 (diff)
downloadsamba-67c644aa591c051cfe1e3f3536186ecf0b4449f2.tar.gz
samba-67c644aa591c051cfe1e3f3536186ecf0b4449f2.tar.bz2
samba-67c644aa591c051cfe1e3f3536186ecf0b4449f2.zip
dsgetdcname: use existing messaging_context if possible.
Guenther (This used to be commit 7889516a384c155a9045aad4409c041fddd0d98d)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c
index e5d83bc891..ba4e32ae84 100644
--- a/source3/utils/net_lookup.c
+++ b/source3/utils/net_lookup.c
@@ -402,7 +402,7 @@ static int net_lookup_dsgetdcname(int argc, const char **argv)
site_name = sitename_fetch(domain_name);
}
- status = dsgetdcname(mem_ctx, domain_name, NULL, site_name,
+ status = dsgetdcname(mem_ctx, NULL, domain_name, NULL, site_name,
flags, &info);
if (!NT_STATUS_IS_OK(status)) {
d_printf("failed with: %s\n", nt_errstr(status));