mirror of
https://github.com/samba-team/samba.git
synced 2025-02-24 13:57:43 +03:00
s3:rpcclient: make use of rpcclient_cli_state
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
053b975900
commit
a79547cac6
@ -35,14 +35,14 @@ static NTSTATUS cmd_testme(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx,
|
||||
|
||||
d_printf("testme\n");
|
||||
|
||||
status = cli_rpc_pipe_open_noauth(rpc_pipe_np_smb_conn(cli),
|
||||
status = cli_rpc_pipe_open_noauth(rpcclient_cli_state,
|
||||
&ndr_table_lsarpc,
|
||||
&lsa_pipe);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
goto done;
|
||||
}
|
||||
|
||||
status = cli_rpc_pipe_open_noauth(rpc_pipe_np_smb_conn(cli),
|
||||
status = cli_rpc_pipe_open_noauth(rpcclient_cli_state,
|
||||
&ndr_table_samr,
|
||||
&samr_pipe);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user