mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
s3-rpc_server: Give log messages on failure
Change-Id: I240d58fdf71bbab42d1ffb63bb52b9650fd4bd85 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
This commit is contained in:
parent
e85ab68518
commit
902f14c084
@ -932,6 +932,7 @@ static NTSTATUS rpc_pipe_open_external(TALLOC_CTX *mem_ctx,
|
||||
proxy_state = make_external_rpc_pipe_p(mem_ctx, pipe_name,
|
||||
local, remote, session_info);
|
||||
if (!proxy_state) {
|
||||
DEBUG(1, ("Unable to make proxy_state for connection to %s.\n", pipe_name));
|
||||
return NT_STATUS_UNSUCCESSFUL;
|
||||
}
|
||||
|
||||
@ -1059,6 +1060,7 @@ NTSTATUS rpc_pipe_open_interface(TALLOC_CTX *mem_ctx,
|
||||
|
||||
pipe_name = dcerpc_default_transport_endpoint(mem_ctx, NCACN_NP, table);
|
||||
if (pipe_name == NULL) {
|
||||
DEBUG(1, ("Unable to find pipe name to forward %s to.\n", table->name));
|
||||
status = NT_STATUS_INVALID_PARAMETER;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user