s4-libnet: force IDL printing for high debug levels
authorAndrew Tridgell <tridge@samba.org>
Tue, 14 Sep 2010 23:53:29 +0000 (09:53 +1000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 15 Sep 2010 05:39:36 +0000 (15:39 +1000)
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

source4/libnet/libnet_rpc.c

index f4760d418a86923314e4fc1a81840a6225456a3f..fbf002f2ed9cfe86c3d144989d2be2a0365a3429 100644 (file)
@@ -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)) {