diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-11-17 00:31:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:05:54 -0500 |
commit | 285db3339931c47a569f49e8e18760d6185aac54 (patch) | |
tree | f7cdbd6a911c349073faadb5eed242aae760a8a0 /source4/librpc/rpc/dcerpc_util.c | |
parent | 7f340a29977e89b67d66473085e98db7b2ce71f6 (diff) | |
download | samba-285db3339931c47a569f49e8e18760d6185aac54.tar.gz samba-285db3339931c47a569f49e8e18760d6185aac54.tar.bz2 samba-285db3339931c47a569f49e8e18760d6185aac54.zip |
r3792: improved the posix -> nt error mapping, so we get things like
NT_STATUS_HOST_UNREACHABLE instead of NT_STATUS_UNSUCCESSFUL
(This used to be commit f2a488e5668ab5d262269f1bab1b33a63265cbe9)
Diffstat (limited to 'source4/librpc/rpc/dcerpc_util.c')
-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 5c824cec99..c53e879802 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -1003,7 +1003,8 @@ static NTSTATUS dcerpc_pipe_connect_ncacn_ip_tcp(struct dcerpc_pipe **p, status = dcerpc_pipe_open_tcp(p, binding->host, port); if (!NT_STATUS_IS_OK(status)) { - DEBUG(0,("Failed to connect to %s:%d\n", binding->host, port)); + DEBUG(0,("Failed to connect to %s:%d - %s\n", + binding->host, port, nt_errstr(status))); return status; } |