1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-25 17:57:42 +03:00

s4-libnet: force IDL printing for high debug levels

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2010-09-15 09:53:29 +10:00
parent 66460c946a
commit c18e9566ea

View File

@ -111,6 +111,10 @@ static struct composite_context* libnet_RpcConnectSrv_send(struct libnet_context
b->flags = r->in.dcerpc_flags; b->flags = r->in.dcerpc_flags;
} }
if (DEBUGLEVEL >= 10) {
b->flags |= DCERPC_DEBUG_PRINT_BOTH;
}
if (r->level == LIBNET_RPC_CONNECT_SERVER_ADDRESS) { if (r->level == LIBNET_RPC_CONNECT_SERVER_ADDRESS) {
b->target_hostname = talloc_strdup(b, r->in.name); b->target_hostname = talloc_strdup(b, r->in.name);
if (composite_nomem(b->target_hostname, c)) { if (composite_nomem(b->target_hostname, c)) {