summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-11-02 00:43:38 +0000
committerTim Potter <tpot@samba.org>2002-11-02 00:43:38 +0000
commitc49573e59f06e25031fa84022005166e62cd7506 (patch)
treed5287ce446ff07b3ac50a09f2c41d5d06998c75f /source3
parent56dc17378b978f02f8397071021be5bf9a88b6a4 (diff)
downloadsamba-c49573e59f06e25031fa84022005166e62cd7506.tar.gz
samba-c49573e59f06e25031fa84022005166e62cd7506.tar.bz2
samba-c49573e59f06e25031fa84022005166e62cd7506.zip
Display pipe name in rpc bind failure debug.
(This used to be commit 70838b33a61a10e9bd1622611a6be3b0cac08479)
Diffstat (limited to 'source3')
-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;
}