diff options
Diffstat (limited to 'source4/torture/rap')
-rw-r--r-- | source4/torture/rap/rap.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/source4/torture/rap/rap.c b/source4/torture/rap/rap.c index 3add8d4db7..49d55b1162 100644 --- a/source4/torture/rap/rap.c +++ b/source4/torture/rap/rap.c @@ -270,6 +270,10 @@ static NTSTATUS smbcli_rap_netshareenum(struct smbcli_tree *tree, break; } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_IN_DEBUG(rap_NetShareEnum, r); + } + result = rap_cli_do_call(tree, iconv_convenience, call); if (!NT_STATUS_IS_OK(result)) @@ -307,6 +311,9 @@ static NTSTATUS smbcli_rap_netshareenum(struct smbcli_tree *tree, } } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_OUT_DEBUG(rap_NetShareEnum, r); + } result = NT_STATUS_OK; done: @@ -364,6 +371,10 @@ static NTSTATUS smbcli_rap_netserverenum2(struct smbcli_tree *tree, break; } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_IN_DEBUG(rap_NetServerEnum2, r); + } + result = rap_cli_do_call(tree, iconv_convenience, call); if (!NT_STATUS_IS_OK(result)) @@ -404,6 +415,10 @@ static NTSTATUS smbcli_rap_netserverenum2(struct smbcli_tree *tree, } } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_OUT_DEBUG(rap_NetServerEnum2, r); + } + result = NT_STATUS_OK; done: @@ -470,6 +485,10 @@ NTSTATUS smbcli_rap_netservergetinfo(struct smbcli_tree *tree, goto done; } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_IN_DEBUG(rap_WserverGetInfo, r); + } + result = rap_cli_do_call(tree, iconv_convenience, call); if (!NT_STATUS_IS_OK(result)) @@ -497,6 +516,10 @@ NTSTATUS smbcli_rap_netservergetinfo(struct smbcli_tree *tree, r->out.convert, &r->out.info.info1.comment)); } + + if (DEBUGLEVEL >= 10) { + NDR_PRINT_OUT_DEBUG(rap_WserverGetInfo, r); + } done: talloc_free(call); return result; @@ -543,6 +566,10 @@ NTSTATUS smbcli_rap_netprintqenum(struct smbcli_tree *tree, goto done; } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_IN_DEBUG(rap_NetPrintQEnum, r); + } + result = rap_cli_do_call(tree, iconv_convenience, call); if (!NT_STATUS_IS_OK(result)) @@ -603,6 +630,10 @@ NTSTATUS smbcli_rap_netprintqenum(struct smbcli_tree *tree, } } + if (DEBUGLEVEL >= 10) { + NDR_PRINT_OUT_DEBUG(rap_NetPrintQEnum, r); + } + result = NT_STATUS_OK; done: |