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
Stefan Leichter
fdd2c7651a
Fix GetFileSecurityA test on Win98.
2005-03-31 10:07:11 +00:00
Stefan Leichter
25102d6b25
Fix GetFileSecurityW for not existing directories/files.
2005-03-29 11:31:18 +00:00
Stefan Leichter
3548b87f75
Added a test for GetFileSecurityA.
2005-03-28 10:00:59 +00:00
Jakob Eriksson
30af06f788
Fix for NT4 behaviour.
2005-03-22 16:39:02 +00:00
Alexandre Julliard
3fe9aa2054
Avoid accessing an uninitialized string in the failure case.
2005-03-14 17:20:58 +00:00
Jakob Eriksson
0667f919ab
Account for permissions on Win2k.
2005-03-05 10:47:13 +00:00
Francois Gouget
dd073bbb3f
Cast the GetProcAddress() return value to avoid warnings about the
...
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Vincent Béron
d8a26f2c5f
Suppress a warning.
2005-02-14 11:52:48 +00:00
Stefan Leichter
68e1208f59
Make advapi32_test.exe loadable on NT 3.51.
2005-02-14 11:06:16 +00:00
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +00:00
Juan Lang
0fca5acba8
- implement LookupPrivilegeName
...
- correct LookupPrivilegeValue (had a buffer overrun and sometimes
returned incorrect LUIDs for well-known values)
- make AllocateLocallyUniqueId less obviously incorrect
- add a bunch of test cases
2004-11-04 04:52:17 +00:00
Jakob Eriksson
2a798e5f31
AllocateAndInitializeSid does not work on Win98.
2004-11-03 22:14:55 +00:00
Juan Lang
bd0e74253c
- correct ConvertStringSidToSidW and ConvertSidToStringSidW, with
...
tests
- add ConvertStringSidToSidA
- add missing exports for ConvertStringSidToSidA/W
2004-09-16 20:27:52 +00:00
Mike McCormack
e27ae38f01
Fix BuildTrusteeWithSid, implement and test BuildTrusteeWithName.
2004-08-19 19:01:12 +00:00
Mike McCormack
985646f07a
Declaration, implemention and test for BuildTrusteeWithSid.
2004-08-16 21:07:50 +00:00
Mike McCormack
e00a0ea330
Added a test for ConvertSidToStringSidW.
2004-08-09 18:47:22 +00:00