summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-04-09 12:40:36 +0200
committerGünther Deschner <gd@samba.org>2010-04-09 13:57:17 +0200
commit8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc (patch)
tree11161b7b4da83e9bf0d64d5774ea2a4fafccbc55 /source4/torture
parent299a6ffe9eb88b5907ca98ad06f9d6ac253945e0 (diff)
downloadsamba-8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc.tar.gz
samba-8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc.tar.bz2
samba-8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc.zip
s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile.
Guenther
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/winreg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/winreg.c b/source4/torture/rpc/winreg.c
index fad4957c5a..436616cf55 100644
--- a/source4/torture/rpc/winreg.c
+++ b/source4/torture/rpc/winreg.c
@@ -2218,7 +2218,7 @@ static bool test_symlink_keys(struct torture_context *tctx,
torture_assert(tctx,
test_CreateKey_opts(tctx, b, handle, TEST_KEY_SYMLINK, NULL,
- REG_KEYTYPE_SYMLINK,
+ REG_KEYTYPE_SYMLINK | REG_KEYTYPE_VOLATILE,
SEC_FLAG_MAXIMUM_ALLOWED,
NULL,
WERR_OK,
@@ -2245,7 +2245,7 @@ static bool test_symlink_keys(struct torture_context *tctx,
torture_assert(tctx,
test_OpenKey_opts(tctx, b, handle, TEST_KEY_SYMLINK,
- REG_KEYTYPE_SYMLINK,
+ REG_KEYTYPE_SYMLINK | REG_KEYTYPE_VOLATILE,
SEC_FLAG_MAXIMUM_ALLOWED,
&new_handle,
WERR_OK),