diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-09-29 06:02:25 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-09-29 06:02:25 +0000 |
commit | 8205817eeca2259262d44461917ab0cc4c99e9e6 (patch) | |
tree | 164c0946faa14a02e00576dedcead48feeadbbb8 /source4/torture | |
parent | af780b0f01488e025b9257aa2f9aa34d42087745 (diff) | |
download | samba-8205817eeca2259262d44461917ab0cc4c99e9e6.tar.gz samba-8205817eeca2259262d44461917ab0cc4c99e9e6.tar.bz2 samba-8205817eeca2259262d44461917ab0cc4c99e9e6.zip |
- use deltree to setup base directory
(This used to be commit 19eab118c1e73a0c5142ff10f7cf5ecae97349ac)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/utable.c | 9 |
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); |