s3-rpc_cli: pass down ndr_interface_table to cli_rpc_pipe_open_noauth().
[metze/samba/wip.git] / source3 / rpcclient / cmd_test.c
index 591ae8cf3f51d9940ea423808d45ab1125258063..367dc713baf1d44bbbdc72a298127181781e678b 100644 (file)
@@ -36,14 +36,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),
-                                         &ndr_table_lsarpc.syntax_id,
+                                         &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),
-                                         &ndr_table_samr.syntax_id,
+                                         &ndr_table_samr,
                                          &samr_pipe);
        if (!NT_STATUS_IS_OK(status)) {
                goto done;