librpc: Unify packet dumping on ndr_pull() failure
authorAndrew Bartlett <abartlet@samba.org>
Mon, 11 Nov 2019 02:02:30 +0000 (15:02 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 Nov 2019 02:14:56 +0000 (02:14 +0000)
commit1af1ebe54aefd436b6ed80cb99a30282d5abd495
tree3842211bcdf80098976ced687d8c027123014644
parent7ae46019df1c5369cfd15f99448b94e425eddcc4
librpc: Unify packet dumping on ndr_pull() failure

There were two duplicate implementations of packet dumping just for the s4 RPC server!

This unifies them and makes them easier to find because they are not triggered
from the generated server stub any more.

The behaviour have unified on setting "dcesrv:stubs directory" and
being compiled with --enable-developer.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Samuel Cabrero <scabrero@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed Nov 20 02:14:56 UTC 2019 on sn-devel-184
librpc/rpc/dcerpc_util.c
librpc/rpc/dcesrv_core.c
librpc/rpc/rpc_common.h
pidl/lib/Parse/Pidl/Samba4/COM/Stub.pm
pidl/lib/Parse/Pidl/Samba4/NDR/Server.pm
source4/librpc/rpc/dcerpc.h
source4/rpc_server/remote/dcesrv_remote.c
source4/torture/rpc/spoolss_notify.c