s3-rpc_cli: pass down ndr_interface_table to cli_rpc_pipe_open_noauth().
[bbaumbach/samba-autobuild/.git] / source3 / utils / net_rpc_shell.c
index 60860663c676d6a6dfc69c04ec283ba92b6893d4..120cfa6af95ef920e29dcbcbfd8c2c5f080f51a6 100644 (file)
@@ -85,7 +85,7 @@ static NTSTATUS net_sh_run(struct net_context *c,
                return NT_STATUS_NO_MEMORY;
        }
 
-       status = cli_rpc_pipe_open_noauth(ctx->cli, &cmd->table->syntax_id,
+       status = cli_rpc_pipe_open_noauth(ctx->cli, cmd->table,
                                          &pipe_hnd);
        if (!NT_STATUS_IS_OK(status)) {
                d_fprintf(stderr, _("Could not open pipe: %s\n"),