Commit Graph

1260 Commits

Author SHA1 Message Date
Francois Gouget
fe3f2e3258 services: If a service is not started, then say so when ControlService() is called on it. 2011-08-30 11:47:37 +02:00
Francois Gouget
eafb44d4e1 services: Refuse to start disabled services. 2011-08-30 11:47:35 +02:00
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