summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:47:35 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:10 +0200
commitf88723ab2784d5f035802d1040e7d3e7ac1a8656 (patch)
treec9564553d24adcdacf11ef384a1123a5917188f3
parent3d675f1219ada8d6438f411ee433038a1c91838c (diff)
downloadsamba-f88723ab2784d5f035802d1040e7d3e7ac1a8656.tar.gz
samba-f88723ab2784d5f035802d1040e7d3e7ac1a8656.tar.bz2
samba-f88723ab2784d5f035802d1040e7d3e7ac1a8656.zip
s3:net_rpc: use netr->desthost instead of cli->desthost
metze
-rw-r--r--source3/utils/net_rpc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_rpc.c b/source3/utils/net_rpc.c
index 746b2f7bb8..d6a8868b2a 100644
--- a/source3/utils/net_rpc.c
+++ b/source3/utils/net_rpc.c
@@ -6147,7 +6147,7 @@ static NTSTATUS rpc_trustdom_get_pdc(struct net_context *c,
b = netr->binding_handle;
status = dcerpc_netr_GetDcName(b, mem_ctx,
- cli->desthost,
+ netr->desthost,
domain_name,
&buffer,
&result);