diff options
author | Günther Deschner <gd@samba.org> | 2010-09-21 20:56:23 -0700 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-09-23 10:26:25 -0700 |
commit | ffdfcfb514c1a0849ba334ae6b9b00d3ad3c2227 (patch) | |
tree | 536860be90ee3531863894f87e5c24b1cb523702 /source3/utils/net_lookup.c | |
parent | c3f5d990652aec4b4f1f23a5e1c7b644cd46cbe7 (diff) | |
download | samba-ffdfcfb514c1a0849ba334ae6b9b00d3ad3c2227.tar.gz |
s3-dsgetdcname: always pass in messaging context.
Volker, please check.
Guenther
Diffstat (limited to 'source3/utils/net_lookup.c')
-rw-r--r-- | source3/utils/net_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_lookup.c b/source3/utils/net_lookup.c index 5ff62398f2..3609eacdf8 100644 --- a/source3/utils/net_lookup.c +++ b/source3/utils/net_lookup.c @@ -409,7 +409,7 @@ static int net_lookup_dsgetdcname(struct net_context *c, int argc, const char ** site_name = argv[2]; } - status = dsgetdcname(mem_ctx, NULL, domain_name, NULL, site_name, + status = dsgetdcname(mem_ctx, c->msg_ctx, domain_name, NULL, site_name, flags, &info); if (!NT_STATUS_IS_OK(status)) { d_printf(_("failed with: %s\n"), nt_errstr(status)); |