From d4f4f4b9f3d03319b3d54d9525d386d0249d17f1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 10 Jan 2005 11:14:13 +0000 Subject: r4637: log packets when the server code returns an DCERPC_FAULT metze (This used to be commit 64805e5dc58ad1d1fefc3e36158131fa2d531592) --- source4/build/pidl/server.pm | 2 ++ source4/build/pidl/stub.pm | 3 +++ 2 files changed, 5 insertions(+) (limited to 'source4/build') 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; } -- cgit