mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
Only call display_lsa_query_info on success in rpcclient.
Guenther (This used to be commit dad7ae3e1a72a9e291e421f136461c60bcfbe318)
This commit is contained in:
parent
1042b0ce37
commit
0ddbeba833
@ -193,8 +193,9 @@ static NTSTATUS cmd_lsa_query_info_policy(struct rpc_pipe_client *cli,
|
||||
&info);
|
||||
}
|
||||
|
||||
|
||||
display_lsa_query_info(info, info_class);
|
||||
if (NT_STATUS_IS_OK(result)) {
|
||||
display_lsa_query_info(info, info_class);
|
||||
}
|
||||
|
||||
rpccli_lsa_Close(cli, mem_ctx, &pol);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user