diff options
author | Günther Deschner <gd@samba.org> | 2008-05-08 18:32:22 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-05-09 14:59:20 +0200 |
commit | 67c644aa591c051cfe1e3f3536186ecf0b4449f2 (patch) | |
tree | c32fad2091649b7d47c3210bfb08a7b2e2bc791a /source3/libnet | |
parent | c58ab8f3b251f9fbf79fc8a528717e0756c02a76 (diff) | |
download | samba-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/libnet')
-rw-r--r-- | source3/libnet/libnet_join.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 8e503382f4..36700b26c0 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -1622,6 +1622,7 @@ static WERROR libnet_DomainJoin(TALLOC_CTX *mem_ctx, struct netr_DsRGetDCNameInfo *info; const char *dc; status = dsgetdcname(mem_ctx, + r->in.msg_ctx, r->in.domain_name, NULL, NULL, @@ -1778,6 +1779,7 @@ static WERROR libnet_DomainUnjoin(TALLOC_CTX *mem_ctx, struct netr_DsRGetDCNameInfo *info; const char *dc; status = dsgetdcname(mem_ctx, + r->in.msg_ctx, r->in.domain_name, NULL, NULL, |