Alexandre Julliard
d6df8f5675
Don't make the test key volatile, that can break other tests.
2005-01-27 11:15:00 +00:00
Mike McCormack
81ed8be90d
Convert services to use pipes for RPC instead of shared memory.
2005-01-24 19:33:43 +00:00
Mike McCormack
939179d681
Fix, add and rearrange winsvc.h declarations.
2005-01-14 16:50:57 +00:00
Mike McCormack
c3ead97b4e
Move all service stubs together, make them consistent.
2005-01-14 16:20:41 +00:00
Mike McCormack
1afd5f68f8
Cleanup service handles.
2005-01-14 15:13:40 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Jakob Eriksson
6239fc72de
On NT4 we can also get ERROR_RING2_STACK_IN_USE from
...
CryptAcquireContext().
2005-01-04 20:31:53 +00:00
Mike McCormack
8d830b6246
Add some missing declarations in the spec file.
2005-01-03 20:10:45 +00:00
Hans Leidekker
0cc2031409
Stub implementations for GetKernelObjectSecurity,
...
GetPrivateObjectSecurity, GetServiceKeyName{A,W},
ImpersonateNamedPipeClient, InitiateSystemShutdown{A,W},
IsTokenRestricted, LogonUser{A,W}, LookupAccountNameW,
LookupPrivilegeDisplayName{A,W}, MapGenericMask,
ObjectCloseAuditAlarm{A,W}, ObjectOpenAuditAlarm{A,W},
ObjectPrivilegeAuditAlarm{A,W}, PrivilegedServiceAuditAlarm{A,W},
QueryServiceLockStatus{A,W}, SetAclInformation,
SetPrivateObjectSecurity, SetSecurityDescriptorControl,
SetServiceBits, LsaSetInformationPolicy, LsaLookupNames,
LsaEnumerateTrustedDomains.
2005-01-03 17:12:51 +00:00
Michael Stefaniuc
15a308a9d7
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2005-01-03 14:56:42 +00:00
Mike McCormack
816f86560e
Fix CreateService's error code for a service that already exists.
2004-12-27 17:44:47 +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
Mike McCormack
1645ab0492
Don't use RtlCreateUnicodeStringFromAsciiz, it doesn't preserve NULL.
2004-12-27 17:10:31 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Alexandre Julliard
1d36d12917
Fixed prototypes of a couple of ntdll functions.
...
Replaced the CallWin32ToNt macro by a proper function.
PBOOL cannot be cast to PBOOLEAN, we need to use an intermediate
variable.
2004-12-22 15:31:16 +00:00
Hans Leidekker
49f7f6c208
Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
...
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00
Ivan Leo Puoti
a329904a3f
In OpenSCManagerW() allow lpDatabaseName to be an empty string.
2004-12-21 16:05:28 +00:00
Michael Jung
a3b97e051a
Respect the sDescription parameter in CryptSignHash and
...
CryptVerifySignature.
2004-12-21 14:34:18 +00:00
Michael Jung
e9cb2e6d5f
ixed calculation of buffer size in CRYPT_ANSIToUnicode and
...
CRYPT_UnicodeToANSI.
2004-12-20 18:52:41 +00:00
Jon Griffiths
873cd009d0
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-15 10:54:44 +00:00
James Hawkins
ce4a4ef981
Minor documentation addition.
2004-12-14 15:27:05 +00:00
James Hawkins
7f34c04067
Cleanup some documentation.
2004-12-14 15:26:04 +00:00
Alexander Yaworsky
e849a56673
Check service database name in OpenSCManager().
2004-12-09 16:52:10 +00:00
Mike McCormack
0128a849b1
Stub implementations for Lsa(Store/Retrieve)PrivateData.
2004-12-08 14:02:26 +00:00
Alexander Yaworsky
9087fb2000
Notify StartService when service control dispatcher has been
...
started. Otherwise StartService terminates service process.
2004-12-08 14:01:26 +00:00
Alexander Yaworsky
e2b9000b84
Implemented RegisterServiceCtrlHandler, ControlService.
2004-12-07 14:24:58 +00:00
Stefan Leichter
2d136f0de9
Fix missing imports on NT4.
2004-12-06 20:38:24 +00:00
Mike McCormack
4bda758157
Stub implementations for DecryptFile, EncryptFile and
...
GetServiceDisplayName.
2004-12-06 16:17:08 +00:00
Alexander Yaworsky
bb1466e861
Implemented SetServiceStatus, QueryServiceStatus.
2004-12-06 11:35:22 +00:00
James Hawkins
e3ba250034
Only call test_set_provider_ex() once.
2004-12-06 11:34:40 +00:00
Alexander Yaworsky
e6985ab3a5
Basic implementation of service control dispatcher.
2004-12-02 19:51:41 +00:00
Alexander Yaworsky
78b64795d7
Introduced service thread.
2004-12-01 15:31:34 +00:00
Mike McCormack
418672f2e5
Added a stub implementation for GetCurrentHwProfileW.
2004-12-01 15:27:59 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
James Hawkins
88aeb475c0
Fixed a few memory leaks.
2004-11-30 17:33:27 +00:00
Alexander Yaworsky
8109cfd443
Merge Unicode and ASCII versions of StartServiceCtrlDispatcher.
...
Implement StartServiceCtrlDispatcherA on the top of
StartServiceCtrlDispatcherW.
Get rid of HEAP_strdupWtoA.
2004-11-30 17:29:03 +00:00
Alexander Yaworsky
970a877995
Move up SERV_* functions.
2004-11-21 15:50:08 +00:00
James Hawkins
2515ff77fc
Added beginnings of RegQueryValueEx tests.
2004-11-19 18:13:30 +00:00
Jason Edmeades
d80247ef67
- Stub SetServiceObjectSecurity to pretend to work (return true).
...
- Change QueryServiceObjectSecurity so it initializes the ACL with a
null DACL, and return as though it worked.
- Changed QueryServiceStatus to tell if the service is running by the
presence of some named shared storage - copied from StartService when
it checks to see if its already running.
2004-11-10 01:31:39 +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
Michael Jung
6b12414fc8
CryptGetUserKey: Set return key handle to zero in case of failure.
2004-11-01 21:07:24 +00:00
Michael Jung
2f2f3a1d13
CryptCreateHash: Set returned hash handle to zero in case of failure.
2004-10-27 21:15:10 +00:00
Juan Lang
531be0b887
Update comment for LsaOpenPolicy.
2004-10-25 21:43:47 +00:00
Mike McCormack
5bc8077511
Implement ChangeServiceConfig2A using ChangeServiceConfig2W.
2004-10-21 20:57:09 +00:00
Mike McCormack
2e82a0965b
Implement ChangeServiceConfigA using ChangeServiceConfigW.
2004-10-21 19:51:53 +00:00
Alexandre Julliard
bbde53fb02
RegQueryValueW must return count in bytes for empty string too.
2004-10-19 21:14:09 +00:00
Michael Jung
162171e258
Fixed a typo in CryptExportKey.
2004-10-18 19:35:24 +00:00
Michael Jung
09a81f8c3f
CryptDeriveKey - set return key handle to NULL in case of failure.
2004-10-11 19:52:54 +00:00
Alexandre Julliard
06e35a776b
Removed wrong memset calls.
2004-10-07 19:14:21 +00:00