[PATCH 0/3] Add ability to NDR_PRINT_DEBUG per debug channel

Andrew Bartlett abartlet at samba.org
Fri May 17 02:24:13 MDT 2013


On Fri, 2013-05-17 at 10:16 +0200, Kai Blin wrote:
> This patchset adds a new NDR_PRINT_DEBUGC call that can dump ndr data
> even when debugging at a specific log level. This allows to specifically
> bump the debug level for a specific channel and also get the NDR data dumped.
> 
> Kai Blin (3):
>   debug: Add ability to dump_data per debug class
>   librpc: Add NDR_PRINT_DEBUGC to ndr print to a debug class
>   dns: Also print packet information for DBGC_DNS
> 
>  lib/util/debug.h                |  7 ++++++
>  lib/util/samba_util.h           |  8 +++++++
>  lib/util/util.c                 | 30 ++++++++++++++++++++++++
>  librpc/ndr/libndr.h             |  3 +++
>  librpc/ndr/ndr.c                | 51 +++++++++++++++++++++++++++++++++++++++++
>  librpc/wscript_build            |  2 +-
>  source4/dns_server/dns_server.c | 10 ++++----
>  7 files changed, 105 insertions(+), 6 deletions(-)

These are on their way to autobuild!

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba-technical mailing list