summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/dfs.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-18 01:18:24 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-18 01:18:24 +0000
commit2c0a7165efb1ce52be27bd13496e99c5e5c70e48 (patch)
treea959c8bdd0ac3bb0378d91bbfe68a16858bbc6dc /source4/torture/rpc/dfs.c
parent7b185ccb32d685c00ddca9495fafe34bec59ceb3 (diff)
downloadsamba-2c0a7165efb1ce52be27bd13496e99c5e5c70e48.tar.gz
samba-2c0a7165efb1ce52be27bd13496e99c5e5c70e48.tar.bz2
samba-2c0a7165efb1ce52be27bd13496e99c5e5c70e48.zip
* use the new auto-generated debug code method.
* add a couple more info levels to wkssvc (This used to be commit c69161bdb13745f271b0cfa9a9af349f7a95edc6)
Diffstat (limited to 'source4/torture/rpc/dfs.c')
-rw-r--r--source4/torture/rpc/dfs.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/source4/torture/rpc/dfs.c b/source4/torture/rpc/dfs.c
index 889abbdc78..7d851675e0 100644
--- a/source4/torture/rpc/dfs.c
+++ b/source4/torture/rpc/dfs.c
@@ -36,8 +36,6 @@ static BOOL test_Exist(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
return False;
}
- NDR_PRINT_BOTH_DEBUG(dfs_Exist, &r);
-
return True;
}
@@ -60,8 +58,6 @@ static BOOL test_InfoLevel(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, uint16 le
return False;
}
- NDR_PRINT_BOTH_DEBUG(dfs_GetInfo, &r);
-
return True;
}
@@ -106,8 +102,6 @@ static BOOL test_EnumLevel(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, uint16 le
return False;
}
- NDR_PRINT_BOTH_DEBUG(dfs_Enum, &r);
-
if (level == 1 && r.out.total) {
int i;
for (i=0;i<*r.out.total;i++) {
@@ -182,6 +176,8 @@ BOOL torture_rpc_dfs(int dummy)
if (!NT_STATUS_IS_OK(status)) {
return False;
}
+
+ p->flags |= DCERPC_DEBUG_PRINT_BOTH;
if (!test_Exist(p, mem_ctx)) {
ret = False;