summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-09-22 09:56:27 +1000
committerAndrew Tridgell <tridge@samba.org>2011-09-22 10:00:49 +1000
commit3e685f599580d5fe006a07511fa78c23f30dd5fb (patch)
tree28f2068938f41eed8d1342978cc90839e8d87fc7
parent02872212ebd18f150d3e7cff5722698b770c9f90 (diff)
downloadsamba-3e685f599580d5fe006a07511fa78c23f30dd5fb.tar.gz
samba-3e685f599580d5fe006a07511fa78c23f30dd5fb.tar.bz2
samba-3e685f599580d5fe006a07511fa78c23f30dd5fb.zip
s4-rpc: show binding string in failed rpc binds
this makes debugging some RPC auth issues easier
-rw-r--r--source4/librpc/rpc/dcerpc_util.c3
1 files changed, 2 insertions, 1 deletions
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);