status = pipe_cm_open(ctx, cli, interface, &result);
if (!NT_STATUS_IS_OK(status)) {
libnetapi_set_error_string(ctx, "failed to open PIPE %s: %s",
- cli_get_pipe_name_from_iface(debug_ctx(), cli,
- interface),
+ cli_get_pipe_name_from_iface(debug_ctx(), interface),
get_friendly_nt_error_msg(status));
return WERR_DEST_NOT_FOUND;
}
DEBUG(0, ("Could not initialise %s. Invalid "
"auth type %u\n",
cli_get_pipe_name_from_iface(
- debug_ctx(), cli,
+ debug_ctx(),
cmd_entry->interface),
pipe_default_auth_type ));
return NT_STATUS_UNSUCCESSFUL;
if (!NT_STATUS_IS_OK(ntresult)) {
DEBUG(0, ("Could not initialise %s. Error was %s\n",
cli_get_pipe_name_from_iface(
- debug_ctx(), cli,
+ debug_ctx(),
cmd_entry->interface),
nt_errstr(ntresult) ));
return ntresult;
if (!NT_STATUS_IS_OK(ntresult)) {
DEBUG(0, ("Could not initialise credentials for %s.\n",
cli_get_pipe_name_from_iface(
- debug_ctx(), cli,
+ debug_ctx(),
cmd_entry->interface)));
return ntresult;
}
if (!NT_STATUS_IS_OK(nt_status)) {
DEBUG(0, ("Could not initialise pipe %s. Error was %s\n",
cli_get_pipe_name_from_iface(
- debug_ctx(), cli, interface),
+ debug_ctx(), interface),
nt_errstr(nt_status) ));
cli_shutdown(cli);
return -1;