diff options
author | Günther Deschner <gd@samba.org> | 2008-04-08 22:55:52 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-04-08 22:55:52 +0200 |
commit | 81579895a64129635dcbefa8d4b672fa6470fc42 (patch) | |
tree | ad98a5a6f302d4e883c344ca9837894e8ea221ab /source3/rpcclient | |
parent | ceec50446ba7ceb68efe9cd2496e2730e8e98d17 (diff) | |
download | samba-81579895a64129635dcbefa8d4b672fa6470fc42.tar.gz samba-81579895a64129635dcbefa8d4b672fa6470fc42.tar.bz2 samba-81579895a64129635dcbefa8d4b672fa6470fc42.zip |
Fix lsa_TrustedDomainInfo callers.
Guenther
(This used to be commit e0eae3901750c7b76560bbab9a86f24a64d42c8b)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_lsarpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 90f8646810..245969c26d 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -1001,7 +1001,7 @@ static NTSTATUS cmd_lsa_query_trustdominfobysid(struct rpc_pipe_client *cli, NTSTATUS result = NT_STATUS_UNSUCCESSFUL; DOM_SID dom_sid; uint32 access_mask = SEC_RIGHTS_MAXIMUM_ALLOWED; - union lsa_TrustedDomainInfo info; + union lsa_TrustedDomainInfo *info = NULL; enum lsa_TrustDomInfoEnum info_class = 1; if (argc > 3 || argc < 2) { @@ -1028,7 +1028,7 @@ static NTSTATUS cmd_lsa_query_trustdominfobysid(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); @@ -1085,7 +1085,7 @@ static NTSTATUS cmd_lsa_query_trustdominfo(struct rpc_pipe_client *cli, POLICY_HND pol, trustdom_pol; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; uint32 access_mask = SEC_RIGHTS_MAXIMUM_ALLOWED; - union lsa_TrustedDomainInfo info; + union lsa_TrustedDomainInfo *info = NULL; DOM_SID dom_sid; enum lsa_TrustDomInfoEnum info_class = 1; @@ -1123,7 +1123,7 @@ static NTSTATUS cmd_lsa_query_trustdominfo(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); |