summaryrefslogtreecommitdiff
path: root/source4/torture/utable.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/utable.c')
-rw-r--r--source4/torture/utable.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/torture/utable.c b/source4/torture/utable.c
index 38e381de9b..317d7a80cc 100644
--- a/source4/torture/utable.c
+++ b/source4/torture/utable.c
@@ -132,8 +132,7 @@ BOOL torture_casetable(int dummy)
memset(equiv, 0, sizeof(equiv));
- cli_unlink(cli, "\\utable\\*");
- cli_rmdir(cli, "\\utable");
+ cli_deltree(cli, "\\utable");
if (!cli_mkdir(cli, "\\utable")) {
printf("Failed to create utable directory!\n");
return False;
@@ -148,7 +147,11 @@ BOOL torture_casetable(int dummy)
fname = form_name(c);
fnum = cli_nt_create_full(cli, fname, 0,
- GENERIC_RIGHTS_FILE_ALL_ACCESS,
+#if 0
+ SEC_RIGHT_MAXIMUM_ALLOWED,
+#else
+ GENERIC_RIGHTS_FILE_ALL_ACCESS,
+#endif
FILE_ATTRIBUTE_NORMAL,
NTCREATEX_SHARE_ACCESS_NONE,
NTCREATEX_DISP_OPEN_IF, 0, 0);