diff options
author | Günther Deschner <gd@samba.org> | 2010-04-29 01:13:06 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-29 12:05:42 +0200 |
commit | 1467b0e6f6162e67087374d0f78e16a38794a41a (patch) | |
tree | 656a55ad941ffbace449d04181a94eee15183d37 /source4/torture/rap | |
parent | f5ac746091db768572d10997de05aa5f7e01d805 (diff) | |
download | samba-1467b0e6f6162e67087374d0f78e16a38794a41a.tar.gz samba-1467b0e6f6162e67087374d0f78e16a38794a41a.tar.bz2 samba-1467b0e6f6162e67087374d0f78e16a38794a41a.zip |
s4-smbtorture: add NDR_PRINT macros for RAP tests (when called with -d10).
Guenther
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: |