diff options
author | Andrew Tridgell <tridge@samba.org> | 2011-09-22 09:56:27 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2011-09-22 10:00:49 +1000 |
commit | 3e685f599580d5fe006a07511fa78c23f30dd5fb (patch) | |
tree | 28f2068938f41eed8d1342978cc90839e8d87fc7 /source4/librpc/rpc | |
parent | 02872212ebd18f150d3e7cff5722698b770c9f90 (diff) | |
download | samba-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
Diffstat (limited to 'source4/librpc/rpc')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 3 |
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); |