summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-09-13 11:06:30 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-10-17 08:48:52 +1300
commita79547cac620eaafd7fabe4264e58eb9276b549d (patch)
tree14f7a262a847c4fabb72cf207e7c58994b5dcf29 /source3/rpcclient
parent053b9759003d3a36856945faaeb9879e8fe445d5 (diff)
downloadsamba-a79547cac620eaafd7fabe4264e58eb9276b549d.tar.gz
samba-a79547cac620eaafd7fabe4264e58eb9276b549d.tar.bz2
samba-a79547cac620eaafd7fabe4264e58eb9276b549d.zip
s3:rpcclient: make use of rpcclient_cli_state
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
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)) {