1
0
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:
Stefan Metzmacher 2013-09-13 11:06:30 +02:00 committed by Andrew Bartlett
parent 053b975900
commit a79547cac6

View File

@ -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)) {