Commit Graph

1308 Commits

Author SHA1 Message Date
Francois Gouget 9183a171f1 services: Cleanup when a service fails to start so it is still fully considered to be stopped. 2011-08-30 11:47:32 +02:00
Alistair Leslie-Hughes 6dcae92ca1 advapi32: Cleanup event log only if create was successful. 2011-08-29 17:03:31 +02:00
Francois Gouget ac1a0d96e1 advapi32/tests: Tweak the service start/stop tests so they work on NT4. 2011-08-29 12:08:19 +02:00
Alexandre Julliard d34ff26230 advapi32/tests: Skip some tests if EnumServicesStatusExA is missing. 2011-08-25 11:31:55 +02:00
Alexandre Julliard 608b57ea4f advapi32/tests: Skip some tests if QueryServiceStatusEx is missing. 2011-08-24 15:25:16 +02:00
Nikolay Sivov 573db9ef63 ntdll: While requesting TokenGroups calculate required user buffer size in server. 2011-08-23 16:53:54 +02:00
Francois Gouget 87035e5274 advapi32/tests: Test what happens when a service fails to or cannot start. 2011-08-23 16:53:49 +02:00
Nikolay Sivov e717a78afe advapi32/tests: Fix invalid read in test. 2011-08-22 16:14:35 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Nikolay Sivov 322049cebf advapi32/crypt: Fixed some HKEY leaks. 2011-08-04 09:08:07 +02:00
Alistair Leslie-Hughes 3fc5110e2c advapi32: Add stub TraceMessage, TraceMessageVa. 2011-08-03 17:38:31 +02:00
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
Louis Lenders 33e2034227 advapi32: SetLastError in ReadEventLog{A, W} stub to avoid applications from looping forever. 2011-07-19 14:03:56 +02:00
Alex Stanev 82b7a4166f advapi32: Set *lpSize properly in GetUserNameA. 2011-07-05 14:40:00 +02:00
Hans Leidekker dc46df47a4 advapi32: Make sure lpDisplayName is initialized in EnumServicesStatusA. 2011-06-10 10:56:48 +02:00
Alexandre Julliard ad4c995c3f advapi32: Always pass valid buffers in the EnumServicesStatus requests. 2011-06-09 23:42:41 +02:00
Alexandre Julliard 519fbf6202 advapi32: Fix the parameter checks in QueryServiceStatusEx. 2011-06-09 23:42:41 +02:00
Michael Stefaniuc b856884c3b advapi32: Remove wrong "is NULL and error out" code (coccicheck). 2011-06-06 16:29:58 +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
Andrew Nguyen 4d154d007d advapi32: Add stubs for GetNamedSecurityInfoExA/W. 2011-05-18 16:54:22 +02:00
Austin English 8781b58ed9 advapi32: Return success in RegisterTraceGuids. 2011-05-13 17:05:26 +02:00
Huw Davies e8859699e8 advapi32: Fix incorrect pointer increment. 2011-05-05 16:31:58 +02:00
Austin English 51bdb255e3 advapi32: Add ProcessTrace stub. 2011-04-29 16:52:12 +02:00
Austin English f9a455964c advapi32: Add OpenTraceA/W stubs. 2011-04-29 16:52:12 +02:00
Marcus Meissner 7810e231a8 advapi32: Mark some internal symbols as hidden. 2011-04-27 18:15:57 +02:00
Owen Rudge 65ba77bd5c advapi32: Add basic SaferSetLevelInformation stub. 2011-04-04 12:26:12 +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
Francois Gouget 5b4f0dfc4c advapi32: Make trustee_name_A_to_W() and free_trustee_name() static. 2011-03-16 14:14:23 +01:00
André Hentschel e2a3b4b4e5 advapi32/tests: Add some skips. 2011-03-14 19:31:31 +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
Alexandre Julliard 5055ec63a7 advapi32: Fix array size construct that gcc doesn't like. 2011-03-07 11:06:51 +01:00
Hans Leidekker 837fc836aa advapi32: Use a fixed computer SID that matches local user SIDs. 2011-03-02 12:50:59 +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
André Hentschel 6e62dc8ece advapi32: Add stub for EnableTraceEx. 2011-02-23 19:21:58 +01:00
Austin English b7c18d104b advapi32/tests: Remove Win9x hacks. 2011-02-17 17:28:17 +01:00
Austin English 33db33d474 advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-17 17:27:47 +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
Austin English 425e7ca15d advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:05:47 -06:00
Austin English d10a4dce8e advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Austin English 2951007d18 advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Andrew Nguyen ed657182ee server: Filter the WOW64 registry access flags before performing the access check. 2011-01-24 16:04:18 +01:00
Juan Lang c91afb9733 rsaenh: Add support for CRYPT_IPSEC_HMAC_KEY. 2011-01-14 18:26:17 +01:00
Andrew Nguyen 97fa635fc7 advapi32: Convert the trustee name buffer based on trustee form in SetEntriesInAclA. 2011-01-12 11:32:19 +01:00
Hans Leidekker 3440e768dd Revert "advapi32: Fix cred domain according to tests.".
This reverts commit 061eb12ca3.
The patch makes tests for CredRead and CredEnumerate pass but breaks
CredWrite at the same time.
2011-01-10 10:42:29 +01: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
André Hentschel 2399e7f25a advapi32/tests: Test how creating a subkey in HKCR affect HKLM/HKCU. 2010-12-31 11:42:16 +01:00
André Hentschel ffea4ba5ac advapi32/tests: Even more tests for the merged view of HKCR. 2010-12-29 11:59:33 +01:00
André Hentschel c6682ef5dc advapi32: Print a FIXME also for the unknown levels. 2010-12-23 13:47:27 +01:00
Damian Dixon fd0bec1f96 advapi32: Added check for NULL pointer being passed to QueryServiceStatus for either parameter. 2010-12-21 16:56:00 +01:00
André Hentschel f36b593498 advapi32: Fix test failure on some NT4 machines. 2010-12-13 17:29:46 +01:00
Hans Leidekker eba814763a advapi32: Return the computer name as referenced domain name in LookupAccountName. 2010-12-10 14:02:00 +01:00
André Hentschel 9c7366c05e advapi32/tests: More tests for the merged view of HKEY_CLASSES_ROOT. 2010-12-03 11:04:06 +01:00
Paul Vriens 10df397871 advapi32/tests: Add a test for driver services. 2010-11-24 12:07:13 +01:00
Alexandre Julliard 5fc51fd10e advapi32/tests: Avoid sizeof in traces. 2010-11-17 15:07:47 +01:00
Hans Leidekker 7135ac7641 advapi32: Implement EnumServicesStatusExA/W. 2010-10-29 14:33:57 +02:00
Hans Leidekker ae7d41bfa2 advapi32: Implement EnumServicesStatusA/W. 2010-10-27 13:31:04 +02:00
Detlef Riekenberg 5726ba6439 advapi32: Add a stub for EventEnabled. 2010-10-26 11:56:08 +02:00
Austin Lund f18554c735 advapi32/tests: Fix test for WoW64 handle size differences. 2010-10-22 12:37:14 +02:00
Louis Lenders 2ecb586005 advapi32: Add stub for QueryTraceW. 2010-10-11 17:11:25 +02:00
Austin Lund fd30e69538 advapi32/tests: Fix RegEnumValue overflow tests for broken behaviour on XP Pro Chinese. 2010-10-07 12:10:02 +02:00
Hans Leidekker ee18ead545 advapi32: Fix a buffer size query in LsaLookupSids. 2010-10-06 20:46:47 +02:00
Alexandre Julliard 625bce13fb advapi32/tests: Don't bother running HKCR tests when the registry key doesn't exist. 2010-10-05 11:01:22 +02:00
André Hentschel 6d2a2e1a97 advapi32/tests: Introduce tests for the merged view of HKEY_CLASSES_ROOT. 2010-10-04 15:00:05 +02:00
Hans Leidekker aba86be101 advapi32: Add a stub implementation of EventRegister. 2010-10-01 17:48:10 +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 Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Paul Vriens 75c5484174 dlls: Fix some specfiles with respect to 'str' and 'wstr' usage. 2010-09-09 14:57:44 +02:00
Paul Vriens 1042aa0145 advapi32: Add stubs for FlushTrace[AW]. 2010-09-06 16:18:02 +02:00
Alexandre Julliard e598850cc3 advapi32: Use int64 in the spec file for 64-bit integers. 2010-08-31 14:23:47 +02:00
Alexandre Goujon 2c127dd320 advapi32: Fix GetNamedSecurityInfo with NULL descriptor. 2010-08-24 17:57:41 +02:00
Marko Nikolic f3a645f0de advapi32/tests: Removed sign comparison warnings in eventlog tests. 2010-08-18 17:14:00 +02:00
Austin Lund ffb680569a advapi32/tests: Add more error reporting for ReportEvent tests. 2010-08-18 09:47:29 +02:00
Austin Lund c98e6c09ae advapi32: Add magic codes to HCRYPTKEY and HCRYPTHASH. 2010-08-18 09:47:27 +02:00
Andrew Talbot 8d5f7fe13f advapi32: Constify some variables. 2010-07-28 12:21:48 +02:00
Marko Nikolic da2750384d advapi32: Removed sign comparison warning. 2010-07-26 18:38:32 +02:00
Andrew Talbot 7114094472 advapi32: Constify some variables. 2010-07-26 18:38:30 +02:00
Harry Jeffery 4faf80280c Fixed various spelling mistakes. 2010-07-26 13:34:20 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Alexandre Goujon 061eb12ca3 advapi32: Fix cred domain according to tests. 2010-07-20 17:38:53 +02:00
Hans Leidekker f2081fb2bd advapi32: Stub out the Safer* functions a bit more. 2010-07-20 16:29:44 +02:00
Marko Nikolic 5fe2fc20fd advapi32/tests: Removed sign comparison warning in service.c. 2010-07-19 11:09:53 +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
Alexandre Julliard 58a698882d advapi32: Make rpcrt4 a delayed import to work around circular dependencies with native. 2010-06-21 17:55:37 +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
Alexandre Julliard ffb29fd335 advapi32: Fix Unicode string lengths in LsaLookupSids.
Found by Louis Lenders.
2010-06-10 11:23:35 +02:00