Display pipe name in rpc bind failure debug.
authorTim Potter <tpot@samba.org>
Sat, 2 Nov 2002 00:45:19 +0000 (00:45 +0000)
committerTim Potter <tpot@samba.org>
Sat, 2 Nov 2002 00:45:19 +0000 (00:45 +0000)
(This used to be commit 62ab0f8cbe7c517084383bdc9a8c97404ad27147)

source3/rpc_client/cli_pipe.c

index 62bf44e3efe4cef33b68b0472a5a522962c3734a..995697d885906416646a94f9b43df92b8ab48893 100644 (file)
@@ -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;
        }