From c18e9566ea62fb1a3cb46ca6ce703e32e24cf550 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 15 Sep 2010 09:53:29 +1000 Subject: s4-libnet: force IDL printing for high debug levels Pair-Programmed-With: Andrew Bartlett --- source4/libnet/libnet_rpc.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4') diff --git a/source4/libnet/libnet_rpc.c b/source4/libnet/libnet_rpc.c index f4760d418a..fbf002f2ed 100644 --- a/source4/libnet/libnet_rpc.c +++ b/source4/libnet/libnet_rpc.c @@ -111,6 +111,10 @@ static struct composite_context* libnet_RpcConnectSrv_send(struct libnet_context b->flags = r->in.dcerpc_flags; } + if (DEBUGLEVEL >= 10) { + b->flags |= DCERPC_DEBUG_PRINT_BOTH; + } + if (r->level == LIBNET_RPC_CONNECT_SERVER_ADDRESS) { b->target_hostname = talloc_strdup(b, r->in.name); if (composite_nomem(b->target_hostname, c)) { -- cgit