212 Commits

Author SHA1 Message Date
Nikolay Sivov
3dc6226519 advapi32: Basic test for CreateRestrictedToken. 2011-08-02 11:41:42 +02:00
Nikolay Sivov
5290766ae0 advapi32: Fix CheckTokenMemberShip for primary tokens. 2011-08-02 11:41:32 +02:00
Andrew Nguyen
c0b7345e38 advapi32: Fix last error value of GetUserNameA/W and output buffer handling in GetUserNameA. 2011-06-01 16:12:36 +02:00
Andrew Nguyen
750cadd2ff advapi32/tests: Add tests for GetUserNameA/W. 2011-05-31 18:33:33 +02:00
Andrew Nguyen
163dfad5a1 advapi32/tests: Use a matching enumeration value for the trustee form member. 2011-05-18 16:54:41 +02:00
Dmitry Timoshkov
1b5602e59c server: Add excute permission when read file access is allowed. 2011-03-28 17:16:01 +02:00
Dmitry Timoshkov
2dfae4a733 advapi32: Add more file access permissions tests. 2011-03-17 10:54:37 +01:00
Dmitry Timoshkov
da077956e1 server: Explicitly add FILE_DELETE_CHILD permission when file write access is allowed. 2011-03-16 16:31:56 +01:00
Dmitry Timoshkov
19c4331d61 advapi32: Add a bunch of file access tests. 2011-03-16 16:31:56 +01:00
Dmitry Timoshkov
58bff4e3f8 advapi32: Fix the English language check. 2011-03-16 16:31:55 +01:00
Dmitry Timoshkov
494ceab83a advapi32: Move the 'const' modifier in front of the storage specifier. 2011-03-14 12:39:28 +01:00
Dmitry Timoshkov
99109567ad advapi32: Properly skip the tests that depend on English locale. 2011-03-14 12:39:28 +01:00
Hans Leidekker
c65bcce589 server: Map the Unix user id to a local user SID instead of the interactive SID. 2011-03-02 12:50:59 +01:00
Austin English
4bf211714e advapi32/tests: Remove Win9x hacks. 2011-02-28 13:10:55 +01:00
Austin English
68e1d5d78e advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-17 17:27:41 +01:00
Austin English
a19ce2080e advapi32/tests: Remove useless assignments (LLVM/Clang). 2011-02-09 09:28:41 -06:00
Damian Dixon
a9bbd7dc86 advapi32: Implement SetEntriesInAclA by calling SetEntriesInAclW. 2011-01-03 16:37:59 +01:00
André Hentschel
b49e1c2994 advapi32/tests: Don't test function directly when reporting GetLastError(). 2011-01-03 11:54:06 +01:00
André Hentschel
92f9cb6c5d advapi32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:42:52 +01:00
Alexandre Julliard
5fc51fd10e advapi32/tests: Avoid sizeof in traces. 2010-11-17 15:07:47 +01:00
Austin Lund
f18554c735 advapi32/tests: Fix test for WoW64 handle size differences. 2010-10-22 12:37:14 +02:00
Alexandre Julliard
53d810c9ad advapi32/tests: Make function pointers static and remove redundant typedefs. 2010-10-01 13:33:37 +02:00
Hans Leidekker
0cffcb77d6 advapi32: Fix handling of zero account and domain size parameters in LookupAccountSid. 2010-09-21 17:53:55 +02:00
Alexandre Goujon
2c127dd320 advapi32: Fix GetNamedSecurityInfo with NULL descriptor. 2010-08-24 17:57:41 +02:00
Marko Nikolic
29dd523505 advapi32/tests: Removed sign comparison warning in test_LookupAccountName. 2010-06-30 11:53:22 +02:00
Marko Nikolic
ff08a68668 advapi32/tests: Replaced function lstrlen with strlen in condition check. 2010-06-29 13:28:58 +02:00
Marko Nikolic
b8978553ad advapi32/tests Fixed test macro in ConvertSecurityDescriptorToString. 2010-06-21 12:20:31 +02:00
Marko Nikolic
3675a38447 advapi32/tests: Fixed -Wsign-compare warnings in security tests. 2010-06-21 12:20:27 +02:00
James Hawkins
621a772d48 advapi32: Fix a few memory leaks. Use the correct API to free SIDs (FreeSid). 2010-01-07 17:59:58 +01:00
Marcin Baczyński
005b9066f4 advapi32/tests: Remove superfluous void* cast. 2010-01-07 09:27:02 +01:00
Rob Shearman
190a11ddb6 advapi32: Fix memory leaks in security tests. 2009-12-02 16:08:53 +01:00
Rob Shearman
8bfc736561 advapi32: Don't test the contents of memory outside of a valid block of memory. 2009-12-02 16:08:52 +01:00
Austin Lund
5c45c35e4e advapi32/tests: Skip tests for ACL file info if ACL info not stored. 2009-11-18 15:15:45 +01:00
Paul Vriens
bfa2479d4d advapi32/tests: Fix some test failures on NT4. 2009-11-17 15:14:53 +01:00
Paul Vriens
3912286aad advapi32/tests: Skip some tests on Win9x and WinMe. 2009-11-17 15:14:53 +01:00
Rob Shearman
1f3a14e767 advapi32: EqualSid should set last error to ERROR_SUCCESS. 2009-11-16 11:39:28 +01:00
Rob Shearman
3498a88179 advapi32: Add tests for EqualSid. 2009-11-16 11:39:24 +01:00
Rob Shearman
1802a5b9ba advapi32: Use a duplicate of the process token if a NULL token is passed into CheckTokenMembership and there is no thread token. 2009-11-11 10:56:03 +01:00
Rob Shearman
9b3b9a1060 advapi32: Fix CheckTokenMembership test on Windows. 2009-11-11 10:55:57 +01:00
Paul Vriens
77c672f86f advapi32/tests: Run tests on Win9x/WinMe again. 2009-11-10 15:18:05 +01:00
Rob Shearman
cf680ed0f2 advapi32: Implement CheckTokenMembership. 2009-11-09 19:44:11 +01:00
Jeremy White
e07e2ac3f7 advapi32/tests: Prevent test failure when computer name and user name are the same. 2009-11-03 22:23:27 +01:00
Paul Vriens
133c0f5401 advapi32/tests: Fix a test failure on Vista and higher. 2009-10-14 11:22:52 +02:00
Paul Vriens
17c1881953 advapi32/tests: Add some extra tests. 2009-10-13 16:23:16 +02:00
Paul Vriens
69568dac91 advapi32/tests: Make some tests table driven. 2009-10-13 16:22:57 +02:00
Andrey Turkin
7de9f842e5 advapi32: Ignore invalid MultipleTrusteeOperation values in SetEntriesInAcl. 2009-10-12 12:14:25 +02:00
Ge van Geldorp
227cbdea9b advapi32/tests: Fix tests on Win7. 2009-08-26 14:56:00 +02:00
Rein Klazes
b46e2ef9b1 advapi32: SetEntriesInAclW() should accept account name "CURRENT_USER". 2009-08-17 15:52:57 +02:00
Francois Gouget
d475279149 advapi32/tests: Add a trailing '\n' to ok() calls. 2009-06-30 12:39:29 +02:00
Louis Lenders
011c5b8fae advapi32: Add a few tests for GetSidSubAuthority and SetLastError correctly. 2009-06-29 15:08:00 +02:00