diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-06-11 15:21:29 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-06-12 12:23:45 +1000 |
commit | bbe758d55b58a28ae2585de07fde835b14445843 (patch) | |
tree | 3a265c7fb902f014b13ac576c70e937726ed6cd3 /source4/librpc/rpc/dcerpc_util.c | |
parent | 3938d1e5fa1996f64e92d33d6893bab620d16b23 (diff) | |
download | samba-bbe758d55b58a28ae2585de07fde835b14445843.tar.gz samba-bbe758d55b58a28ae2585de07fde835b14445843.tar.bz2 samba-bbe758d55b58a28ae2585de07fde835b14445843.zip |
always enable RPC debugging with a debug level >= 100.
This helps with tools where setting the binding string is not
possible, such as net
Diffstat (limited to 'source4/librpc/rpc/dcerpc_util.c')
-rw-r--r-- | source4/librpc/rpc/dcerpc_util.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/librpc/rpc/dcerpc_util.c b/source4/librpc/rpc/dcerpc_util.c index d57cc57e47..4524673449 100644 --- a/source4/librpc/rpc/dcerpc_util.c +++ b/source4/librpc/rpc/dcerpc_util.c @@ -513,6 +513,10 @@ struct composite_context *dcerpc_pipe_auth_send(struct dcerpc_pipe *p, conn = s->pipe->conn; conn->flags = binding->flags; + + if (DEBUGLVL(100)) { + conn->flags |= DCERPC_DEBUG_PRINT_BOTH; + } /* remember the binding string for possible secondary connections */ conn->binding_string = dcerpc_binding_string(p, binding); |