Commit Graph

283 Commits

Author SHA1 Message Date
Dmitry Timoshkov 964422524c Avoid a crash in advapi32/test_sha_ctx.c test if required entry points
are missing.
2004-10-04 19:31:17 +00:00
Alexander Yaworsky d9c9bfd779 Start only first service in the service table. 2004-09-27 20:35:27 +00:00
Alexander Yaworsky 31ec065bfd Restructured code of StartServiceCtrlDispatcherA/W. 2004-09-25 00:28:42 +00:00
Alexander Yaworsky 9d590d5059 Pass arguments to the service program. 2004-09-21 00:23:32 +00:00
Filip Navara e1db054315 Implement A_SHA* functions present in Windows XP and later systems. 2004-09-17 18:15:28 +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
Alexander Yaworsky 6a36f28f2a Pass argv[0] (service name) to the service program. 2004-09-16 20:27:31 +00:00
Alexander Yaworsky 81dfe73ef8 Added stubs for MD4, MD5 and SHA functions. 2004-09-16 19:09:13 +00:00
Alexander Yaworsky 8484d3fbae Proper finalization in StartServiceW. 2004-09-14 19:39:19 +00:00
Mike McCormack 7d3431ed1d Stub implementation for QueryServiceObjectSecurity. 2004-09-14 19:25:35 +00:00
Mike McCormack 8ea4fffb98 Make sure not to interfere with the lasterror value returned by the
CSP in CryptAcquireContextA.
2004-09-14 17:43:41 +00:00
Alexander Yaworsky 37180dd6d5 Implemented LockServiceDatabase and UnlockServiceDatabase. 2004-09-10 21:12:25 +00:00
Wolfgang Schwotzer 9c4890042d LookupAccountNameA stub always returns a valid SID. 2004-09-07 20:41:35 +00:00
Mike McCormack 8100e0eec2 Return the correct error when OpenService is called with a
non-existing service.
2004-09-06 20:28:32 +00:00
Hans Leidekker 411fc5f164 Fix signed/unsigned comparison warnings. 2004-09-02 23:00:53 +00:00
James Hawkins 19f2669c24 - remove unnecessary type conversions
- added tests for crypt
2004-09-01 22:46:29 +00:00
Alexander Yaworsky 7db2149f65 Implemented QueryServiceConfigA. 2004-09-01 17:29:00 +00:00
Alexander Yaworsky 871635c650 Expand ImagePath in QueryServiceConfigW. 2004-08-31 18:50:39 +00:00
Alexander Yaworsky 3ab2818948 Sanity check when closing service handle. 2004-08-31 17:32:05 +00:00
James Hawkins 1c251e9a69 Make CryptSetProviderEx only delete the 'Name' value and not delete
the entire 'Type XXX' key when deleting the default provider.
2004-08-30 23:57:18 +00:00
Alexander Yaworsky 5f115371ce Changed SC_HANDLEs from HKEYs to pointers to internal structures. 2004-08-30 23:57:03 +00:00
Huw Davies 8e9d88c1a1 Fix full name of HKEY_CURRENT_CONFIG. 2004-08-26 18:22:58 +00:00
Alexander Yaworsky 968e252149 StartService must pass full command line to service program. 2004-08-26 18:10:01 +00:00
Evan Deaubl 18e195a89b Added GetSecurityInfo stub. 2004-08-26 00:29:06 +00:00
Mike McCormack fd4675c501 Make SetTokenInformation call NtSetInformationToken. 2004-08-25 17:30:46 +00:00
James Hawkins 1a6fa44658 Enable ERROR_MORE_DATA to be set in CryptGetDefaultProvider. 2004-08-20 19:25:35 +00:00
James Hawkins e02eb90509 Added tests for CryptSetProviderEx. 2004-08-20 19:25:03 +00:00
Mike McCormack e27ae38f01 Fix BuildTrusteeWithSid, implement and test BuildTrusteeWithName. 2004-08-19 19:01:12 +00:00
Aric Stewart 4a18630fef Let StartServiceCtrlDispatcher handle services not started by
StartService.
2004-08-17 22:29:01 +00:00
James Hawkins a26b7e30b1 If pszTypeName is too small to hold the type name in
CryptEnumProviderTypes, return ERROR_MORE_DATA.
2004-08-17 22:08:16 +00:00
Mike McCormack 945364754e Remove unnecessary casts in crypt tests. 2004-08-17 22:07:59 +00:00
Mike McCormack 93eeaa417d Implemented Get/SetFileSecurity A->W. 2004-08-16 23:18:23 +00:00
James Hawkins 25a6a0e08a Fix alloc test in CryptEnumProviderTypesW that failed if the alloc
succeeded.
2004-08-16 21:10:38 +00:00
James Hawkins ddad3152a1 Fixed a few crypt test bugs. 2004-08-16 21:10:18 +00:00
Mike McCormack 985646f07a Declaration, implemention and test for BuildTrusteeWithSid. 2004-08-16 21:07:50 +00:00
Mike McCormack d73c03a8b0 Add some stub declarations. 2004-08-16 19:58:24 +00:00
Mike McCormack 55257303d7 Move declaration of LSA* structs to ntsecapi.h. 2004-08-16 19:47:21 +00:00
Francois Gouget 870f55fefc Fix the PSID and PSECURITY_DESCRIPTOR types.
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Mike McCormack edf55ec7d9 Implement SetThreadToken using NtSetInformationThread. 2004-08-13 23:20:27 +00:00
James Hawkins 7aa82c80d4 If the pszProvName param of CryptEnumProviders is too small to hold
the provider name, SetLastError to ERROR_MORE_DATA.
2004-08-13 19:45:40 +00:00
James Hawkins e672d8b6b4 Added tests for CryptEnumProviders. 2004-08-12 03:24:20 +00:00
James Hawkins e1f5370f42 Cleanup A->W cross call in CryptEnumProviders. 2004-08-12 03:24:10 +00:00
Mike McCormack f8167f01bc Implement A->W call for SetNamedSecurityInfo. 2004-08-09 22:55:47 +00:00
James Hawkins 8cc77c1805 Make CryptEnumProvidersA pcbProvName parameter contain the correct
size of the provider name on return.
2004-08-09 22:53:58 +00:00
Mike McCormack d161a8f64e Fix definition of LookupPrivilegeNameW and declare it. 2004-08-09 19:46:15 +00:00
James Hawkins 62851fdb52 Fix alloc failure check in CryptEnumProvidersW. 2004-08-09 18:51:48 +00:00
Mike McCormack e00a0ea330 Added a test for ConvertSidToStringSidW. 2004-08-09 18:47:22 +00:00
Mike McCormack be303074d6 Implemented ConvertSidToStringSidA/W. 2004-08-09 18:47:06 +00:00
Mike McCormack 2d86d17f2f Implement A->W call for GetNamedSecurityInfo. 2004-08-06 17:31:17 +00:00
Alexandre Julliard c09881d51c Fixed some more freeing issues in CryptAcquireContextA. 2004-08-02 18:49:26 +00:00