From 51d9e913bbdb349063d5559c074c641fcd4d2ec1 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 8 Apr 2008 23:09:24 +0200 Subject: Fix lsa_QueryTrustedDomainInfo caller. Guenther (This used to be commit 9f148daaf2e240002914183655c2b2cc9067759f) --- source3/rpcclient/cmd_lsarpc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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); -- cgit