s4-libnet: force IDL printing for high debug levels
[kai/samba.git] / 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)) {