Commit Graph

66 Commits

Author SHA1 Message Date
Paul Vriens 81a95ff6ee advapi32/tests: Add check to see if SetEntriesInAclW is implemented. 2007-03-30 10:09:15 +02:00
Paul Vriens 33b8ec1cb5 advapi32/tests: Add check to see if ImpersonateSelf is implemented. 2007-03-30 10:09:10 +02:00
Paul Vriens bb00c95c45 advapi32/tests: Add check to see if LookupAccountNameA is implemented. 2007-03-29 21:13:54 +02:00
Paul Vriens e54247b10c advapi32/tests: Move check for ERROR_CALL_NOT_IMPLEMENTED to the first call. 2007-03-29 21:13:38 +02:00
Paul Vriens 640cb29bb7 advapi32/tests: Use skip. 2007-03-29 21:13:32 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Jacek Caban 2cd033eee1 advapi: Improve SetEntriesInAclW stub. 2007-03-20 12:39:41 +01:00
Detlef Riekenberg fc45352781 advapi32/tests: DuplicateTokenEx is not present on all platforms. 2007-03-17 19:52:01 +01:00
Rob Shearman c2b05d32f0 advapi32: Fix a failing test on Windows caused by the existence of one SID that always has no associated account. 2007-03-16 11:21:02 +01:00
Vitaliy Margolen c0a5671d9c ntdll: More error checking. Properly handle NULL ACLs. 2007-02-28 13:28:33 +01:00
Rob Shearman d342d1413c server: Add get_token_impersonation_level server call for retrieving the impersonation level from a token.
Add tests for GetTokenInformation(TokenImpersonationLevel).
2007-02-21 19:49:37 +01:00
Rob Shearman 6a76a0ac7a server: Check object's security when creating handles.
Don't check object's security when duplicating a handle of the same or 
lower access rights. Based on a patch by Vitaliy Margolen.
2007-02-21 19:49:02 +01:00
Rob Shearman c9b9847dce server: Track the impersonation level of tokens. 2007-02-16 13:09:55 +01:00
Rob Shearman 795b40187e advapi32: Add tests for token impersonation levels and what operations are allowed at each level. 2007-02-15 19:16:52 +01:00
Rob Shearman 4ea7535497 advapi32: Add some more tests for AccessCheck that determine what
token impersonation levels it accepts and to show that it doesn't
accept primary tokens.
2007-02-15 19:15:42 +01:00
Vitaliy Margolen 78a28e6043 advapi32: Add more tests for DuplicateHandle security. 2007-02-15 14:19:29 +01:00
Vitaliy Margolen c04e7e7878 advapi32: Add more tests for granted access mask. Fix test on Wine. 2007-01-25 12:52:27 +01:00
Vitaliy Margolen 2cf11ef771 advapi32: Add few more tests for token access check and fix it on Wine. 2007-01-25 12:42:32 +01:00
Paul Vriens 3d3529d605 advapi32/tests: Free memory after use. 2006-12-06 11:26:48 +01:00
James Hawkins 19a49eb51a advapi32: Add tests for LookupAccountName. 2006-12-01 13:12:04 +01:00
Francois Gouget 5cff5038a9 Fix ntsecapi.h so it does not depend on winternl.h. 2006-11-08 12:53:19 +01:00
Andrey Turkin f15af94db8 advapi32: Test for OpenProcessToken with MAXIMUM_ALLOWED access. 2006-11-06 13:48:06 +01:00
Eric Pouech 4dfd319dbf advapi32: Plug a couple of memory leaks. 2006-10-20 13:49:50 +02:00
Hans Leidekker 53535d6e13 advapi32/tests: Win64 printf format warning fixes. 2006-10-04 20:56:14 +02:00
Robert Reif d46c9e2ec2 advapi32: Fix security tests to not crash on windows. 2006-08-28 11:36:02 +02:00
Robert Reif f0085e6376 advapi32: Fix LookupAccountSid and tests to pass on windows and wine. 2006-08-26 18:55:12 +02:00
Robert Reif ca80c55ae8 advapi32: LookupAccountSid buffer size query tests. 2006-08-21 12:07:54 +02:00
Robert Reif e8e501f44b advapi32: Fix test_LookupAccountSid to work on win9x. 2006-08-18 11:35:22 +02:00
Robert Reif 70071af6ad advapi32: Try again with different access mask if LsaOpenPolicy fails with STATUS_ACCESS_DENIED. 2006-08-14 20:17:09 +02:00
Robert Reif aea864ce61 advapi32: Add more LookupAccountSid tests. 2006-08-14 11:46:13 +02:00
Andrew Talbot b843ce55c7 advapi32/tests: Write-strings warnings fix. 2006-08-14 11:44:52 +02:00
Robert Reif 08484ba498 advapi32: Add more SID tests. 2006-08-04 20:44:52 +02:00
Robert Reif 76fe25241d advapi32: Add string sid tests. 2006-07-31 11:15:21 +02:00
Robert Reif accfc06c7a advapi32: Print more info about failed test. 2006-07-31 11:15:21 +02:00
Robert Reif a2cdb3ba9a advapi32: Partial LookupAccountSid implementation. 2006-07-21 13:25:29 +02:00
James Hawkins ce58c3589c advapi32: Add tests for LookupAccountSid. 2006-07-07 13:26:55 +02:00
Ivan Leo 81745f1c41 advapi32/tests: Fix a crash when ConvertSidToStringSidA isn't available. 2006-06-26 13:38:02 +02:00
Alexandre Julliard 290ddd8e38 advapi32/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings. 2006-06-13 13:56:18 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Saulius Krasuckas 7b156bf170 advapi32: Skip token attribute testing if OpenProcessToken() is not implemented. 2006-05-22 11:38:28 +02:00
Saulius Krasuckas 18af854764 advapi32: Make test loadable on win9x. 2006-05-22 11:36:54 +02:00
Robert Shearman a33a63712f advapi32: Add tests for getting the groups, user and privileges of a token. 2006-05-15 14:05:49 +02:00
Alexandre Julliard e97a1afbab advapi32: Fixed compiler warnings. 2006-03-28 14:43:18 +02:00
Thomas Weidenmueller ae8b835d85 advapi32: Fixed building TRUSTEEs with objects.
Fill the TRUSTEE structure properly in BuildTrusteeWithObjectsAndName
and BuildTrusteeWithObjectsAndSid, including regression tests.
2006-03-28 12:34:43 +02:00
James Hawkins 9f96664dc4 - Fix calculation of generic pointers.
- Minor cleanups.
2005-06-29 20:14:16 +00:00
Alexandre Julliard ccd5cdad18 Mark as todo a couple of tests that currently fail. 2005-06-28 13:52:01 +00:00
Robert Shearman 1731df4ca0 Test ACCESS_SYSTEM_SECURITY AccessCheck behaviour. 2005-06-27 19:48:35 +00:00
Felix Nawothnig 68ee20e36d Skip ACL tests on Win9x. 2005-06-22 12:00:01 +00:00
Robert Shearman 472852bef3 Added test for AccessCheck. 2005-06-09 10:03:11 +00:00
Mike McCormack 6b44c2a56c Fix some warnings. 2005-06-09 09:48:36 +00:00