From: Stefan Metzmacher Date: Fri, 13 Sep 2013 09:06:30 +0000 (+0200) Subject: s3:rpcclient: make use of rpcclient_cli_state X-Git-Url: http://git.samba.org/?p=mat%2Fsamba.git;a=commitdiff_plain;h=a79547cac620eaafd7fabe4264e58eb9276b549d s3:rpcclient: make use of rpcclient_cli_state Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- diff --git a/source3/rpcclient/cmd_test.c b/source3/rpcclient/cmd_test.c index 367dc713ba..69693a99d0 100644 --- a/source3/rpcclient/cmd_test.c +++ b/source3/rpcclient/cmd_test.c @@ -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)) {