diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-06-03 21:05:57 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-06-07 23:34:29 +1000 |
commit | 0af2dc43ade4f819ebbb192e3f5493838f99d89b (patch) | |
tree | b257432a53c8299720573c6c760dac01b46d5b65 /source3 | |
parent | 4a7f45b7e1cef13bc28d7ee50dd4b5519bdec397 (diff) | |
download | samba-0af2dc43ade4f819ebbb192e3f5493838f99d89b.tar.gz samba-0af2dc43ade4f819ebbb192e3f5493838f99d89b.tar.bz2 samba-0af2dc43ade4f819ebbb192e3f5493838f99d89b.zip |
s3:named pipe proxy Improve error messages when named pipes fail to forward
I hope this helps the next person who needs to debug this.
Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_pipe_hnd.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_pipe_hnd.c b/source3/rpc_server/srv_pipe_hnd.c index 0a8b715b98..e0fa861781 100644 --- a/source3/rpc_server/srv_pipe_hnd.c +++ b/source3/rpc_server/srv_pipe_hnd.c @@ -906,13 +906,15 @@ static struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx, data_blob_null /* delegated_creds */); if (subreq == NULL) { unbecome_root(); - DEBUG(0, ("tstream_npa_connect_send failed\n")); + DEBUG(0, ("tstream_npa_connect_send to %s for pipe %s and user %s\\%s failed\n", + socket_np_dir, pipe_name, info3->base.domain.string, info3->base.account_name.string)); goto fail; } ok = tevent_req_poll(subreq, ev); unbecome_root(); if (!ok) { - DEBUG(0, ("tevent_req_poll failed for tstream_npa_connect: %s\n", + DEBUG(0, ("tevent_req_poll to %s for pipe %s and user %s\\%s failed for tstream_npa_connect: %s\n", + socket_np_dir, pipe_name, info3->base.domain.string, info3->base.account_name.string, strerror(errno))); goto fail; @@ -925,7 +927,8 @@ static struct np_proxy_state *make_external_rpc_pipe_p(TALLOC_CTX *mem_ctx, &result->allocation_size); TALLOC_FREE(subreq); if (ret != 0) { - DEBUG(0, ("tstream_npa_connect_recv failed: %s\n", + DEBUG(0, ("tstream_npa_connect_recv to %s for pipe %s and user %s\\%s failed: %s\n", + socket_np_dir, pipe_name, info3->base.domain.string, info3->base.account_name.string, strerror(sys_errno))); goto fail; } |