summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-08 23:09:24 +0200
committerGünther Deschner <gd@samba.org>2008-04-08 23:09:24 +0200
commit51d9e913bbdb349063d5559c074c641fcd4d2ec1 (patch)
treedbe12a3dec044fd4f3d53b8efa7b71fde335c5b2 /source3/rpcclient
parentea0048712d6d9b64f6c492bcc3f527d7db6c3bc4 (diff)
downloadsamba-51d9e913bbdb349063d5559c074c641fcd4d2ec1.tar.gz
samba-51d9e913bbdb349063d5559c074c641fcd4d2ec1.tar.bz2
samba-51d9e913bbdb349063d5559c074c641fcd4d2ec1.zip
Fix lsa_QueryTrustedDomainInfo caller.
Guenther (This used to be commit 9f148daaf2e240002914183655c2b2cc9067759f)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_lsarpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index 245969c26d..0d530ceaf2 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -1043,7 +1043,7 @@ static NTSTATUS cmd_lsa_query_trustdominfobyname(struct rpc_pipe_client *cli,
POLICY_HND pol;
NTSTATUS result = NT_STATUS_UNSUCCESSFUL;
uint32 access_mask = SEC_RIGHTS_MAXIMUM_ALLOWED;
- union lsa_TrustedDomainInfo info;
+ union lsa_TrustedDomainInfo *info = NULL;
enum lsa_TrustDomInfoEnum info_class = 1;
struct lsa_String trusted_domain;
@@ -1070,7 +1070,7 @@ static NTSTATUS cmd_lsa_query_trustdominfobyname(struct rpc_pipe_client *cli,
if (!NT_STATUS_IS_OK(result))
goto done;
- display_trust_dom_info(mem_ctx, &info, info_class, cli->pwd.password);
+ display_trust_dom_info(mem_ctx, info, info_class, cli->pwd.password);
done:
rpccli_lsa_Close(cli, mem_ctx, &pol);