diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-01-10 11:14:13 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:08:37 -0500 |
commit | d4f4f4b9f3d03319b3d54d9525d386d0249d17f1 (patch) | |
tree | e0aa8b9c4dea915b0c3a18b146ed16957a40606b /source4/build/pidl | |
parent | e2c71f0bf5c8555e902ee2660a47433f6199f45a (diff) | |
download | samba-d4f4f4b9f3d03319b3d54d9525d386d0249d17f1.tar.gz samba-d4f4f4b9f3d03319b3d54d9525d386d0249d17f1.tar.bz2 samba-d4f4f4b9f3d03319b3d54d9525d386d0249d17f1.zip |
r4637: log packets when the server code returns an DCERPC_FAULT
metze
(This used to be commit 64805e5dc58ad1d1fefc3e36158131fa2d531592)
Diffstat (limited to 'source4/build/pidl')
-rw-r--r-- | source4/build/pidl/server.pm | 2 | ||||
-rw-r--r-- | source4/build/pidl/stub.pm | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/source4/build/pidl/server.pm b/source4/build/pidl/server.pm index bbb21f6e18..c035b7e6bb 100644 --- a/source4/build/pidl/server.pm +++ b/source4/build/pidl/server.pm @@ -124,6 +124,8 @@ pidl " } if (dce_call->fault_code != 0) { + dcerpc_log_packet(&dcerpc_table_$name, opnum, NDR_IN, + &dce_call->pkt.u.request.stub_and_verifier); return NT_STATUS_NET_WRITE_FAULT; } diff --git a/source4/build/pidl/stub.pm b/source4/build/pidl/stub.pm index 9ef8004555..8546bbf307 100644 --- a/source4/build/pidl/stub.pm +++ b/source4/build/pidl/stub.pm @@ -131,8 +131,11 @@ pidl " } if (dce_call->fault_code != 0) { + dcerpc_log_packet(&dcerpc_table_$name, opnum, NDR_IN, + &dce_call->pkt.u.request.stub_and_verifier); return NT_STATUS_NET_WRITE_FAULT; } + return NT_STATUS_OK; } |