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

Kai Blin kai at samba.org
Fri May 17 03:57:02 MDT 2013


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.

Also, the second patch now also includes the updated signature file for libndr

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/ABI/ndr-0.0.2.sigs       | 247 ++++++++++++++++++++++++++++++++++++++++
 librpc/ndr/libndr.h             |   3 +
 librpc/ndr/ndr.c                |  51 +++++++++
 librpc/wscript_build            |   2 +-
 source4/dns_server/dns_server.c |  10 +-
 8 files changed, 352 insertions(+), 6 deletions(-)
 create mode 100644 librpc/ABI/ndr-0.0.2.sigs

-- 
1.8.1.2



More information about the samba-technical mailing list