summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-08-18 10:12:55 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:33:31 -0500
commit227e0c6d67f04adfaa4ace6fa51556d69c7eed4f (patch)
treed61fe36bcecceff0940bb3f1f4a77cebfdc78777 /source4/rpc_server
parentf72c86d4dc0354453f0acaea1a17f90d537e23fa (diff)
downloadsamba-227e0c6d67f04adfaa4ace6fa51556d69c7eed4f.tar.gz
samba-227e0c6d67f04adfaa4ace6fa51556d69c7eed4f.tar.bz2
samba-227e0c6d67f04adfaa4ace6fa51556d69c7eed4f.zip
r9384: added a debug to show the dcerpc fault code for any calls we fault
(This used to be commit 92ed69695b2a5459e79f3edb37790a17de5a66c6)
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/dcerpc_server.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/rpc_server/dcerpc_server.c b/source4/rpc_server/dcerpc_server.c
index 29583ce4ed..d1ee53b538 100644
--- a/source4/rpc_server/dcerpc_server.c
+++ b/source4/rpc_server/dcerpc_server.c
@@ -788,6 +788,10 @@ static NTSTATUS dcesrv_request(struct dcesrv_call_state *call)
/* call the dispatch function */
status = context->iface->dispatch(call, call, call->r);
if (!NT_STATUS_IS_OK(status)) {
+ DEBUG(5,("dcerpc fault in call %s:%02x - %s\n",
+ context->iface->name,
+ call->pkt.u.request.opnum,
+ dcerpc_errstr(pull, call->fault_code)));
return dcesrv_fault(call, call->fault_code);
}