return NT_STATUS_NO_MEMORY;
}
- status = cli_rpc_pipe_open_noauth(ctx->cli,
- cli_get_iface(cmd->pipe_idx),
+ status = cli_rpc_pipe_open_noauth(ctx->cli, cmd->interface,
&pipe_hnd);
if (!NT_STATUS_IS_OK(status)) {
d_fprintf(stderr, "Could not open pipe: %s\n",
static struct rpc_sh_cmd sh_cmds[6] = {
- { "info", NULL, PI_SAMR, rpc_sh_info,
+ { "info", NULL, &ndr_table_samr.syntax_id, rpc_sh_info,
"Print information about the domain connected to" },
{ "rights", net_rpc_rights_cmds, 0, NULL,