From 3e685f599580d5fe006a07511fa78c23f30dd5fb Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 22 Sep 2011 09:56:27 +1000 Subject: s4-rpc: show binding string in failed rpc binds this makes debugging some RPC auth issues easier --- source4/librpc/rpc/dcerpc_util.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/librpc/rpc') diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index 2cd94999e3..1217e34607 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -656,7 +656,8 @@ NTSTATUS dcerpc_pipe_auth_recv(struct composite_context *c, TALLOC_CTX *mem_ctx, status = composite_wait(c); if (!NT_STATUS_IS_OK(status)) { char *uuid_str = GUID_string(s->pipe, &s->table->syntax_id.uuid); - DEBUG(0, ("Failed to bind to uuid %s - %s\n", uuid_str, nt_errstr(status))); + DEBUG(0, ("Failed to bind to uuid %s for %s %s\n", uuid_str, + dcerpc_binding_string(uuid_str, s->binding), nt_errstr(status))); talloc_free(uuid_str); } else { talloc_steal(mem_ctx, s->pipe); -- cgit