mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
s3-rpc: use table->name directly in DEBUG contexts.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
This commit is contained in:
parent
21200b12dc
commit
a94e278883
@ -254,7 +254,7 @@ WERROR libnetapi_open_pipe(struct libnetapi_ctx *ctx,
|
||||
status = pipe_cm_open(ctx, ipc, table, &result);
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
libnetapi_set_error_string(ctx, "failed to open PIPE %s: %s",
|
||||
get_pipe_name_from_syntax(talloc_tos(), &table->syntax_id),
|
||||
table->name,
|
||||
get_friendly_nt_error_msg(status));
|
||||
return WERR_DEST_NOT_FOUND;
|
||||
}
|
||||
|
@ -2664,8 +2664,7 @@ NTSTATUS cli_rpc_pipe_open_noauth_transport(struct cli_state *cli,
|
||||
}
|
||||
DEBUG(lvl, ("cli_rpc_pipe_open_noauth: rpc_pipe_bind for pipe "
|
||||
"%s failed with error %s\n",
|
||||
get_pipe_name_from_syntax(talloc_tos(),
|
||||
&table->syntax_id),
|
||||
table->name,
|
||||
nt_errstr(status) ));
|
||||
TALLOC_FREE(result);
|
||||
return status;
|
||||
@ -2673,7 +2672,7 @@ NTSTATUS cli_rpc_pipe_open_noauth_transport(struct cli_state *cli,
|
||||
|
||||
DEBUG(10,("cli_rpc_pipe_open_noauth: opened pipe %s to machine "
|
||||
"%s and bound anonymously.\n",
|
||||
get_pipe_name_from_syntax(talloc_tos(), &table->syntax_id),
|
||||
table->name,
|
||||
result->desthost));
|
||||
|
||||
*presult = result;
|
||||
@ -2918,7 +2917,7 @@ NTSTATUS cli_rpc_pipe_open_schannel_with_key(struct cli_state *cli,
|
||||
done:
|
||||
DEBUG(10,("cli_rpc_pipe_open_schannel_with_key: opened pipe %s to machine %s "
|
||||
"for domain %s and bound using schannel.\n",
|
||||
get_pipe_name_from_syntax(talloc_tos(), &table->syntax_id),
|
||||
table->name,
|
||||
rpccli->desthost, domain));
|
||||
|
||||
*_rpccli = rpccli;
|
||||
|
Loading…
Reference in New Issue
Block a user