summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-09-15 09:53:29 +1000
committerAndrew Tridgell <tridge@samba.org>2010-09-15 15:39:36 +1000
commitc18e9566ea62fb1a3cb46ca6ce703e32e24cf550 (patch)
treef49aba8ee4ab968d83c54a1555808c265af8de70 /source4
parent66460c946ac8b4dadb00cb10cfa14a642a206871 (diff)
downloadsamba-c18e9566ea62fb1a3cb46ca6ce703e32e24cf550.tar.gz
samba-c18e9566ea62fb1a3cb46ca6ce703e32e24cf550.tar.bz2
samba-c18e9566ea62fb1a3cb46ca6ce703e32e24cf550.zip
s4-libnet: force IDL printing for high debug levels
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/libnet/libnet_rpc.c4
1 files changed, 4 insertions, 0 deletions
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)) {