summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-11-02 00:45:19 +0000
committerTim Potter <tpot@samba.org>2002-11-02 00:45:19 +0000
commit84ef8d47a1588e1a376be2b36ca50e00dd842d67 (patch)
tree5b85a97e04f2c8022de05b9dcf59ba564ab9fdda
parent6c589bfb76b672f189c447e498ad086a7ea13247 (diff)
downloadsamba-84ef8d47a1588e1a376be2b36ca50e00dd842d67.tar.gz
samba-84ef8d47a1588e1a376be2b36ca50e00dd842d67.tar.bz2
samba-84ef8d47a1588e1a376be2b36ca50e00dd842d67.zip
Display pipe name in rpc bind failure debug.
(This used to be commit 62ab0f8cbe7c517084383bdc9a8c97404ad27147)
-rw-r--r--source3/rpc_client/cli_pipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 62bf44e3ef..995697d885 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1286,7 +1286,8 @@ BOOL cli_nt_session_open(struct cli_state *cli, const int pipe_idx)
/******************* bind request on pipe *****************/
if (!rpc_pipe_bind(cli, pipe_idx, global_myname)) {
- DEBUG(2,("cli_nt_session_open: rpc bind failed\n"));
+ DEBUG(2,("cli_nt_session_open: rpc bind to %s failed\n",
+ get_pipe_name_from_index(pipe_idx)));
cli_close(cli, cli->nt_pipe_fnum);
return False;
}