diff options
author | Günther Deschner <gd@samba.org> | 2010-04-09 12:40:36 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-04-09 13:57:17 +0200 |
commit | 8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc (patch) | |
tree | 11161b7b4da83e9bf0d64d5774ea2a4fafccbc55 | |
parent | 299a6ffe9eb88b5907ca98ad06f9d6ac253945e0 (diff) | |
download | samba-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
-rw-r--r-- | source4/torture/rpc/winreg.c | 4 |
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), |