Commit Graph

762 Commits

Author SHA1 Message Date
Francois Gouget 7371c44336 advapi32/tests: Trace the SIDs if they are not as expected.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 21:27:34 +09:00
Nikolay Sivov 62d3309a72 advapi32: Make RegOpenCurrentUser() return real key handles for current SID.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:53:17 +01:00
Michael Müller 79636bebbf advapi32: Set last error to ERROR_SUCCESS in GetSidIdentifierAuthority.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-09 00:53:41 +09:00
Vincent Povirk f742b05d77 advapi32/tests: Skip test when registry virtualization can't delete values.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 13:14:13 +09:00
Hugh McMaster 11669fa5e2 Assorted spelling and grammar fixes.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Sebastian Lackner 96f4f53937 server: Do not require SeBackupPrivilege in load_registry and unload_registry.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:26:22 +09:00
Jacek Caban 5935e9509b advapi32/tests: Properly test sdlen value.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-16 20:04:30 +09:00
Nikolay Sivov 076f50ee6c advapi32/tests: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-13 23:35:24 +09:00
Hans Leidekker a5b4ed75cf advapi32/tests: Avoid more test failures. 2015-09-11 18:21:58 +09:00
Hans Leidekker ca32deb0d2 advapi32/tests: Perform a case-insensitive match on domain names. 2015-09-07 18:52:18 +09:00
Hans Leidekker b368cd1b71 advapi32/tests: Avoid test failures when running as an unprivileged user. 2015-09-07 18:52:16 +09:00
Vincent Povirk 997484964a advapi32: RegOpenKeyEx can return special roots when asked for empty subkey. 2015-09-01 15:24:14 +09:00
Matt Durgavich b573986188 advapi32/tests: Fix for crashes on Mac OS X. 2015-08-27 21:43:46 +09:00
Hans Leidekker 3a771b6066 advapi32: Add well-known SID WinBuiltinAnyPackageSid. 2015-08-26 23:15:26 +09:00
Dmitry Timoshkov 48ed6a6f3e advapi32/tests: Add a test to show that THREAD_QUERY_INFORMATION should grant THREAD_QUERY_LIMITED_INFORMATION. 2015-08-20 17:35:13 +09:00
Dmitry Timoshkov 9e22949cec advapi32/tests: Add a test to show that PROCESS_QUERY_INFORMATION should implicitly grant PROCESS_QUERY_LIMITED_INFORMATION access. 2015-08-19 20:19:57 +09:00
Dmitry Timoshkov 8a088d7c2f advapi32/tests: Fix compilation with PSDK. 2015-08-19 20:19:56 +09:00
Bernhard Übelacker eecd136cb7 advapi32: Fail in RegEnumValue on missing value or val_count parameters. 2015-07-08 16:02:25 +09:00
Michael Müller 4f3acf31de advapi32: Add initial implementation for GetWindowsAccountDomainSid. 2015-06-24 23:01:45 +09:00
Michael Müller 54b3973ee0 advapi32/tests: Add tests for GetWindowsAccountDomainSid. 2015-06-24 23:01:45 +09:00
Sebastian Lackner a176655414 advapi32/tests: Explicitly check return value of GetTokenInformation. 2015-06-24 22:57:37 +09:00
Huw Davies 645a31474c Revert "advapi32: Fix RegEnumValueW when enumerating long values.".
This reverts commit 443ef6e7a6.
The tests fail on all versions of Windows.
2015-06-23 15:04:03 +09:00
Bernhard Übelacker 443ef6e7a6 advapi32: Fix RegEnumValueW when enumerating long values. 2015-06-22 20:58:23 +09:00
Hans Leidekker 1fb3f9cb15 advapi32/tests: Add tests to show that reading the SACL requires a special privilege. 2015-06-17 22:37:01 +09:00
Thomas Faber 817d903cb9 advapi32: Write back partial results in RegQueryInfoKeyA. 2015-05-20 17:26:44 +09:00
Thomas Faber 87b6d42c12 advapi32: Do not fail in RegQueryInfoKey if *class_len is 0. 2015-05-20 17:26:24 +09:00
Thomas Faber b6c31bea3d advapi32: Use STATUS_BUFFER_TOO_SMALL for buffer overflows in RegQueryInfoKeyW. 2015-05-20 17:25:56 +09:00
Thomas Faber b8bcec140c advapi32/tests: Add tests for RegQueryInfoKey. 2015-05-14 15:13:55 +09:00
Hans Leidekker 985e226c07 advapi32: Support parsing mandatory label ACE strings. 2015-04-17 14:53:13 +09:00
Piotr Caban 52df833a72 advapi32: Handle NULL DACL in SetSecurityInfo. 2015-04-03 17:07:44 +09:00
Sebastian Lackner 9e0045e167 advapi32/tests: Add tests for CreateFile with set security descriptor. 2015-04-01 22:34:19 +09:00
Sebastian Lackner bfcfceec39 advapi32/tests: Merge common code to test DACL descriptors in a helper function. 2015-04-01 22:34:19 +09:00
Sebastian Lackner 3e47270b68 advapi32/tests: Add tests for NtCreateFile inheritance when security descriptor is set. 2015-03-31 14:49:14 +09:00
Sebastian Lackner 80b384311f advapi32/tests: Repeat ACL inheritance tests for NtCreateFile. 2015-03-31 14:49:10 +09:00
Erich E. Hoover 404d5bf09d advapi32/tests: Add tests for inheriting ACL attributes.
CreateFile should also inherit ACL from the parent directory.
2015-03-31 14:49:02 +09:00
Piotr Caban 00b3f055be server: Fix DACL to permissions conversion. 2015-03-31 00:04:43 +09:00
Piotr Caban 966c5dffed ntdll: Improve parameter validation in RtlAddAce. 2015-03-30 20:03:44 +09:00
Piotr Caban f974d72672 advapi32: Add DACL inheritance support in SetSecurityInfo. 2015-03-27 20:46:02 +09:00
Piotr Caban a4b12eb9f9 advapi32/tests: Add test for mapping DACL to permission.
This test shows that first DACL entry that allows or denies access
should be used. The logic inside server for translating DACL to
permission is not matching it (always scans all DACL entries, deny
entries have bigger priority).
2015-03-27 20:45:49 +09:00
Piotr Caban 02c4f5bd27 advapi32: Add SetNamedSecurityInfo test with empty DACL. 2015-03-27 20:45:07 +09:00
Piotr Caban 3eb448cf33 server: Make directory DACL entries inheritable. 2015-03-27 20:41:03 +09:00
Francois Gouget de72e97f37 advapi32/tests: Make cb_{running,stopped}() static. 2015-03-02 13:50:57 +09:00
Andrew Eikum afa965a152 advapi32: Partially implement NotifyServiceStatusChangeW. 2015-02-26 23:05:12 +09:00
Andrew Eikum 48f0f16311 advapi32/tests: Don't test service timeout. 2015-02-26 23:05:05 +09:00
Akihiro Sagawa 03f6a6e924 advapi32: Fix HKLM\Software handling when opening with KEY_WOW64_32KEY. 2015-01-19 14:19:32 +01:00
Hans Leidekker ff0ee8f8a8 advapi32: Return an error from RegSetValueExW if passed a NULL data pointer and non-zero size. 2015-01-05 20:15:14 +01:00
Akihiro Sagawa 88778ec0b8 advapi32/tests: Add more KEY_WOW64_32KEY tests for 64-bit. 2014-12-18 18:56:06 +01:00
Jonathan Vollebregt 0311b980f3 advapi32/tests: Test RegDeleteKey with empty string parameter. 2014-11-07 14:42:57 +09:00
Jonathan Vollebregt 495b97f05b advapi32/tests: Fix bad cleanup in test_reg_create_key. 2014-11-07 14:42:18 +09:00
Jonathan Vollebregt 2e78a2c921 advapi32/tests: Add trailing slashes tests for RegOpen/CreateKey. 2014-11-07 14:41:54 +09:00