Commit Graph

202 Commits

Author SHA1 Message Date
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
Alexandre Julliard ac5002ed2b advapi32/tests: Avoid accessing an uninitialized pointer. 2009-06-16 13:27:32 +02:00
Hans Leidekker f483f71ad2 ntdll: Implement NtQuery/SetInformationToken(TokenDefaultDacl). 2009-04-21 15:41:05 +02:00
Hans Leidekker dbe5453f7c advapi32: Fix buffer size query for CreateWellKnownSid. 2009-04-15 15:56:38 -05:00
Andreas.Rosenberg f212579ae9 advapi32/tests: Added a test to verify result of LookupAccountSid. 2009-04-09 17:38:33 +02:00
Paul Vriens 8955d7c233 advapi32/tests: Fix test failures on W2K. 2009-04-03 13:01:54 +02:00
Aric Stewart 9d9a684ef6 advapi32: Handle fully qualified account names for well known sids in LookupAccountName. 2009-04-01 14:23:31 +02:00
Aric Stewart b540d57c39 advapi32: Modify check_well_known_name test to be more robust on more Windows platforms.
Thanks to Paul Vriens for pointing out the need for this.
2009-04-01 14:23:31 +02:00
Aric Stewart 4ea704d15a advapi32: Alias some sids in LookupAccountName and make comparison case insensitive. 2009-03-30 17:48:24 +02:00
Alexandre Julliard ec1d6aa617 advapi32/tests: GetTokenInformation apparently needs a dword-aligned buffer. 2009-03-04 12:07:20 +01:00
Francois Gouget e3b00de35f advapi32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-26 12:18:46 +01:00