Commit Graph

651 Commits (46fed9f1ef22a978fbea0868983338e80e1458f3)

Author SHA1 Message Date
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Andrew Talbot 0eebab8652 advapi32/tests: Cast-qual warnings fix. 2006-08-28 11:36:58 +02:00
Robert Reif d46c9e2ec2 advapi32: Fix security tests to not crash on windows. 2006-08-28 11:36:02 +02:00
Andrew Talbot 9959d7e37f advapi32: Cast-qual warnings fix. 2006-08-26 19:16:19 +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 ee32bd99dd advapi32: Fix lsa tests. 2006-08-26 18:55:04 +02:00
Robert Reif 58ce495599 advapi32: Output information on failed LsaQueryInformationPolicy tests. 2006-08-24 14:09:14 +02:00
Robert Reif ca80c55ae8 advapi32: LookupAccountSid buffer size query tests. 2006-08-21 12:07:54 +02:00
Robert Reif 39b77ec560 advapi32: LookupAccountSid buffer size query fixes. 2006-08-21 12:07:50 +02:00
Robert Reif e8e501f44b advapi32: Fix test_LookupAccountSid to work on win9x. 2006-08-18 11:35:22 +02:00
Robert Shearman bc590e87a6 advapi32: Add tests for RegQueryValueEx to show that it sets the data
size to 0 when a buffer isn't present and that it sets the type to
REG_NONE on Win9x.
2006-08-16 17:02:04 +02:00
Robert Reif 6abfc027d5 advapi32: Fix LsaQueryInformationPolicy test to pass on NT4. 2006-08-16 12:41:17 +02:00
Robert Reif b0498a76e0 advapi32: Move duplicated code into function. 2006-08-14 20:17:09 +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
Robert Reif 0f3cd3f224 advapi32: Add more SIDs to AccountLookupSid. 2006-08-14 11:45:53 +02:00
Andrew Talbot b843ce55c7 advapi32/tests: Write-strings warnings fix. 2006-08-14 11:44:52 +02:00
Robert Reif da44bfc02d advapi32: Add some more well known SIDs. 2006-08-12 11:40:21 +02:00
Robert Reif 08484ba498 advapi32: Add more SID tests. 2006-08-04 20:44:52 +02:00
Robert Reif 1b8cfc5151 advapi32: Add a computer SID to the registry. 2006-08-04 12:04:06 +02:00
Robert Reif dabf5e88bf advapi32: Check returned data from LsaQueryInformationPolicy. 2006-08-02 22:05:03 +02:00
Robert Reif 0424424e34 advapi32: LsaQueryInformationPolicy: do the right thing for both domains and accounts. 2006-08-02 11:42:10 +02:00
Robert Reif c6e513dc72 advapi32: More LsaQueryInformationPolicy tests. 2006-08-01 18:34:35 +02:00
Robert Reif 3879fef21d advapi32: LsaQueryInformationPolicy update.
Update LsaQueryInformationPolicy to use correct computer name and SID.
Add support for PolicyDnsDomainInformation.
2006-08-01 11:01:04 +02:00
Robert Reif 6d4fb08ece advapi32: Add computer sid support to LookupAccountSidW. 2006-07-31 15:04:00 +02:00
Robert Reif 9d43504655 advapi32: Add more helper functions.
Add ADVAPI_GetComputerSid.
2006-07-31 14:49:31 +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 3f000d8c71 advapi32: Make ADVAPI_IsLocalComputer global and remove duplicate copy.
Make debugstr_sid global.
2006-07-31 11:15:21 +02:00
Robert Reif ed9cca6982 advapi32: Fix debugstr_sid to print unsigned SubAuthority. 2006-07-29 11:53:38 +02:00
Robert Reif fd81146cd3 advapi32: Move SID members from WELLKNOWNSID to MAX_SID. 2006-07-29 11:53:21 +02:00
Robert Reif a2cdb3ba9a advapi32: Partial LookupAccountSid implementation. 2006-07-21 13:25:29 +02:00
Andrew Talbot 902b2a70a8 advapi32/tests: Write-strings warnings fix. 2006-07-18 11:09:38 +02:00
Robert Reif c4ac8c5b16 advapi32: Add CreateWellKnownSid and IsWellKnownSid. 2006-07-17 13:45:11 +02:00
Robert Reif 9733f6e75c advapi32: Fix LsaQueryInformationPolicy HeapAlloc bug. 2006-07-12 13:15:44 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Bang Jun-Young 0542e835bb advapi32: Fix registry API prototypes to match the PSDK. 2006-07-11 12:03:35 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
James Hawkins 409c6dc7b0 advapi32: Get the token type in ImpersonateLoggedOnUser. 2006-07-07 13:27:48 +02:00
James Hawkins ce58c3589c advapi32: Add tests for LookupAccountSid. 2006-07-07 13:26:55 +02:00
Robert Shearman cc5aceb4f0 advapi32: Fix the service function being called when extended is
either set or not set (reported by Andrey Turkin).
2006-07-05 11:44:27 +02:00
Robert Shearman 19d4378a54 advapi32: Implement RegisterServiceCtrlHandleExW. 2006-07-03 11:33:13 +02:00
Robert Shearman 52aaddcd34 advapi32: Implement RegDisablePredefinedCache. 2006-06-30 20:43:49 +02:00
Ivan Leo 81745f1c41 advapi32/tests: Fix a crash when ConvertSidToStringSidA isn't available. 2006-06-26 13:38:02 +02:00
Juan Lang 2a6dda1cb4 advapi: Add a stub for SystemFunction035. 2006-06-23 10:46:28 +02:00
Alexandre Julliard 553bb2591f advapi32: Don't use sizeof in traces to avoid printf format warnings. 2006-06-13 14:09: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
Robert Shearman 4b7a5aaca6 advapi32: Fix the parsing of string SIDs with multiple sub-authorities. 2006-06-13 11:40:20 +02:00
Robert Shearman 8a4088d8a3 advapi32: Replace some mixed tabs with spaces. 2006-06-13 11:40:20 +02:00
Robert Shearman 84019596be advapi32: Support well-knowns SIDs in string SIDs. 2006-06-13 11:40:20 +02:00
Robert Shearman ddd84f4f28 advapi32: Nul-terminate the domain string in LookupAccountNameW. 2006-06-13 11:40:20 +02:00
Alexandre Julliard 7bbc1d68c5 advapi32: Make some variables static and/or const. 2006-06-12 13:41:15 +02:00
Alexandre Julliard ce49817bc5 advapi32: Added spec entry for GetEffectiveRightsFromAclW. 2006-06-12 11:58:41 +02:00
Saulius Krasuckas 072c11dc49 advapi32: Test RegSetValueEx[AW] for setting some sequential strings as one. 2006-06-10 12:41:27 +02:00
Mike McCormack 3244a3dfc6 advapi32: Fix comment to match the function (thanks to Dan Kegel). 2006-06-05 21:01:47 +02:00
Mike McCormack 473ad39dcb advapi32: Implement and test SystemFunction031. 2006-06-05 13:51:00 +02:00
Mike McCormack 546b84c0c5 advapi32: Implement and test SystemFunction030. 2006-06-05 13:50:48 +02:00
Saulius Krasuckas 67e6040c2d advapi32: Enable some tests and extend them to succeed on XP and 2003 SP1. 2006-06-02 20:43:50 +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
Mike McCormack eb1b39760e advapi32: Implement and test SystemFunction026+027. 2006-05-22 11:34:59 +02:00
Mike McCormack c3a1e8731e advapi32: Implement and test SystemFunction011. 2006-05-22 11:34:47 +02:00
Mike McCormack 500384b0ea advapi32: Test and implement SystemFunction024/025. 2006-05-22 11:34:35 +02:00
Mike McCormack 6fad2cbaff advapi32: Implement and test SystemFunction(012-023). 2006-05-22 11:33:36 +02:00
Mike McCormack b4899f0712 advapi32: Implement and test SystemFunction010. 2006-05-22 11:33:05 +02:00
Mike McCormack 64ae8285cd advapi32: Implement and test SystemFunction009. 2006-05-22 11:32:52 +02:00
Paul Chitescu b1cbecbbc6 advapi32: Add stub FileEncryptionStatus and declarations. 2006-05-20 16:56:16 +02:00
Mike McCormack 9b3d8a3527 advapi32: Implement and test SystemFunction005. 2006-05-16 12:36:28 +02:00
Francois Gouget 17689c07bb Fix some winapi_check documentation warnings. 2006-05-15 15:05:15 +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
Mike McCormack dcfb0f44d1 advapi32: Implement and test SystemFunction004. 2006-05-15 14:05:22 +02:00
Mike McCormack 09fc7e046a advapi32: Implement and test SystemFunction003. 2006-05-15 14:03:56 +02:00
Mike McCormack 50ed147db0 advapi32: Implement and test SystemFunction002 (DES decrypt). 2006-05-15 14:03:33 +02:00
Mike McCormack ff6885495b advapi32: Fix a typo (spotted by Peter Berg Larsen). 2006-05-11 12:10:12 +02:00
Mike McCormack 9e37591d20 advapi32: Implement and test SystemFunction032 (arc4 encryption). 2006-05-10 19:36:54 +02:00
Mike McCormack 72822c0fea advapi32: Implement and test SystemFunction007. 2006-05-10 19:27:39 +02:00
Mike McCormack 6969cab5ee advapi32: Implement and test SystemFunction001. 2006-05-10 19:27:19 +02:00
Mike McCormack 4f520dbd06 advapi32: Implement and test SystemFunction008. 2006-05-10 19:26:54 +02:00
Michael Stefaniuc a87520036f janitorial: Remove redundant NULL pointer checks before HeapFree'ing them.
Some HeapFree's are hidden behind macros. Found by smatch.
2006-05-10 11:31:41 +02:00
Robert Reif 1ed98cc7eb advapi32: Add some lsa tests. 2006-05-05 17:38:53 +02:00
Robert Reif b871ac4ff1 advapi32: Fix LsaClose return value. 2006-05-05 17:31:10 +02:00
Robert Shearman 35596ee290 advapi32: Implement the majority of ImpersonateLoggedOnUser. 2006-05-05 16:35:55 +02:00
Robert Reif d2a59d86d9 advapi32: Fix LsaQueryInformationPolicy return values. 2006-04-21 11:28:18 +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
Francois Gouget cf49dc36c7 advapi32: Fix the LsaEnumerateAccountRights() export. 2006-03-21 20:02:35 +01:00
Hans Leidekker 93676b10c6 advapi32: Add stub implementations for a bunch of documented Lsa APIs. 2006-03-13 14:18:29 +01:00
Ulrich Czekalla 7aa3be4741 advapi32: Add partial implementation of LookupAccountNameW. 2006-02-22 11:32:41 +01:00
Michael Jung ac615ce5a0 advapi32: Implemented RegLoadMUIString[AW]. 2006-02-14 10:41:18 +01:00
Aric Stewart 910806393d advapi32: Fix for RegNotifyChangeKeyValue.
Flip fAsync and fWatchSubTree into their proper places.
2006-02-09 12:08:47 +01:00
Ulrich Czekalla 5ceb274724 advapi32: Add stub for ObjectDeleteAuditAlarmW. 2006-02-02 13:19:11 +01:00
Mike McCormack a8b71c2727 advapi32: If we can't connect to a service's pipe, name the service in
the error message.
2006-01-10 12:10:34 +01:00
Vitaliy Margolen e74bda9d95 advapi32: Don't allocate memory for empty argument string and pass
NULL instead.
2006-01-03 12:05:32 +01:00
Rein Klazes 62b69d6486 advapi32: RegCreateKeyEx fix.
On Win9x,ME RegCreateKeyEx ignores the backslash character if the
subkey begins with one. With a regression test.
2005-12-08 13:49:02 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Paul Vriens e6b0dc2a2f Return a real error in LsaLookupSids. 2005-11-24 19:22:30 +01:00
Vincent Béron f41abbd07a Add/correct prototypes for some already defined functions in
advapi32. Correct spec file entry for GetSecurityInfoExW.
2005-11-21 12:06:00 +00:00
Rob Shearman 01a4245a51 Don't try waiting for the service process to start if the
CreateProcess call failed.
2005-11-21 12:00:16 +00:00
Markus Amsler ec350525e3 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
2005-11-12 19:12:03 +00:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
Saulius Krasuckas 5cd099290c Win98 fails another way when user isn't logged in. 2005-11-08 19:57:41 +00:00
Markus Amsler d45811ce2a Improve c2man Documented-Total count. 2005-11-04 11:43:27 +00:00
Saulius Krasuckas 9d519093f6 - RegConnectRegistryA fails on Win9x when Remote Registry Service is
not installed (WinReg.DLL is missing).
- Test "\\" prefixed computer names too.
2005-11-04 11:15:59 +00:00
Mike McCormack febe90b263 Implement advapi32.CommandLineFromMsiDescriptor. It's a wrapper for
msi.MsiProvideComponentFromDescriptor.
2005-11-04 11:15:18 +00:00
Hans Leidekker d7161472fc Added stub for RegisterServiceCtrlHandlerEx{A,W}. 2005-11-03 09:53:27 +00:00
Ivan Leo Puoti 7230a90821 Delete a temp file. 2005-10-27 18:29:07 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Vincent Béron bd6f176df9 Remove some Unicode->ANSI cross-calls in crypt functions. 2005-09-28 11:59:04 +00:00
Robert Shearman c218e74184 Fix String SID parsing. 2005-09-16 18:44:17 +00:00
Rein Klazes c16e70587a - Set the LastError in OpenSCManager in case of errors;
- Accept machine names without a '\\' prefix in OpenSCManager and
  RegConnectRegistry.
- Add a regression test for that.
2005-09-15 09:31:05 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Mike McCormack 280bcf6e4a Fix gcc 4.0 warnings. 2005-08-27 10:00:38 +00:00
Kevin Koltzau bfa3077510 Properly declare handles. 2005-08-23 09:32:39 +00:00
Kevin Koltzau 73159c1d0c Remove 'cast from pointer to integer of different size' warnings in
64bit,
2005-08-22 09:18:48 +00:00
Vincent Béron e9cac26182 Change some TRACEing formats to make more sense. 2005-08-15 09:44:34 +00:00
Alexandre Julliard 49b7fdcfc0 Removed the broken mmap64 configure check, and moved the
_FILE_OFFSET_BITS define to wine/port.h. Made sure that all files that
need the define include it.
2005-08-03 21:25:10 +00:00
Alexandre Julliard 7be607f7c0 Added commented out stubs for a bunch of new functions. 2005-08-01 14:59:26 +00:00
Steven Edwards e14569d122 Correct RegCreateKeyEx[A/W] prototype to match the PSDK. 2005-07-28 10:18:23 +00:00
Felix Nawothnig 48533ae97d Implement RegGetValueA/W. 2005-07-18 15:10:22 +00:00
Felix Nawothnig 7bc3a38ba7 Rewrote the RegGetValue tests for REG_SZ / REG_EXPAND_SZ. 2005-07-18 10:30:51 +00:00
Felix Nawothnig 305ce2f641 Fix registry tests on Win95. 2005-07-18 09:08:24 +00:00
Juan Lang 8c9b330cce Add/correct a couple definitions, allow hashing nothing. 2005-07-18 09:07:57 +00:00
Francois Gouget 28dc5a8afc Assorted spelling fixes. 2005-07-11 10:59:41 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +00:00
James Hawkins fb46998825 Branch the LSA functions from security.c to lsa.c. 2005-07-06 10:37:50 +00:00
Stefan Huehner 17ed5537e7 Fix some more -Wmissing-declarations warnings. 2005-07-05 11:05:50 +00:00
Felix Nawothnig 694f789956 Added unit tests for RegGetValue. 2005-07-03 11:19:03 +00: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
James Hawkins 0ea0f5fffd - Define FSCTL_PIPE_IMPERSONATE.
- Implement ImpersonateNamedPipeClient.
2005-06-24 11:54:15 +00:00
James Hawkins fc6b6f4848 Add stub implementations for BuildSecurityDescriptorA/W. 2005-06-23 11:40:57 +00:00
James Hawkins dd3fd54a65 Forward AddAuditAccessAce to its Rtl counterpart. 2005-06-23 11:03:52 +00:00
Alexandre Julliard aa0b9aac0d Sort entry points alphabetically. 2005-06-22 18:38:23 +00:00
Felix Nawothnig 68ee20e36d Skip ACL tests on Win9x. 2005-06-22 12:00:01 +00:00
James Hawkins bfaac2776a Implement IsTokenRestricted. 2005-06-21 20:49:54 +00:00
James Hawkins bafa13c6a6 Implement GetTrustee* functions. 2005-06-21 20:20:47 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Robert Shearman 9cb94b276f Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask. 2005-06-20 11:44:45 +00:00
Francois Gouget f9280a3a95 Protect the unistd.h and sys/stat.h includes.
Include config.h.
Fixes warnings reported by winapi_check.
2005-06-17 20:56:02 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
James Hawkins 5909b0de35 Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject. 2005-06-17 09:52:06 +00:00
Robert Shearman 8cb3f92e53 - All versions of Windows ignore the access rights of the passed in
parent handle to RegCreateKey(Ex).
- Add a test that shows this.
2005-06-16 20:34:34 +00:00