summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/cmd_test.c4
1 files changed, 2 insertions, 2 deletions
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)) {