From 8c593f63557d056bd80b4ce0b0d5e04f5a56a4bc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 9 Apr 2010 12:40:36 +0200 Subject: s4-smbtorture: when creating winreg-symlinks during a test, it is very wise to make them volatile. Guenther --- source4/torture/rpc/winreg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source4/torture/rpc/winreg.c') 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), -- cgit