Commit Graph

156 Commits

Author SHA1 Message Date
Rob Shearman d521a2c6d3 advapi32: Always set the requested fields of the security descriptor according to the info flags in GetNamedSecurityInfoW.
Also, set the control flags so that other security descriptor
functions can retrieve the info from it.
2007-06-25 23:21:50 +02:00
Dmitry Timoshkov e79a94d45b advapi32: Add FILE_FLAG_BACKUP_SEMANTICS to the flags passed to CreateFileW to be able to get security information for directories as well as for files. 2007-05-04 13:42:55 +02:00
Dan Kegel 67e2c97a88 advapi: Improve SetEntriesInAclA stub. 2007-04-30 12:20:14 +02:00
Dmitry Timoshkov 481de9d82d advapi32: Thunk GetFileSecurityW to NtQuerySecurityObject. 2007-04-23 13:56:32 +02:00
Jacek Caban 2cd033eee1 advapi: Improve SetEntriesInAclW stub. 2007-03-20 12:39:41 +01:00
Andrew Talbot dea58c017d advapi32: Explicitly initialize nested array element. 2007-03-13 11:52:22 +01:00
Francois Gouget b2656633a6 Add some documentation headers to make winapi_check happy. 2006-11-13 13:01:15 +01:00
Hans Leidekker 4301816d47 advapi32: Win64 printf format warning fixes. 2006-10-03 16:21:58 +02:00
Huw Davies 38d33e33ae advapi32: Fix ADVAPI_GetComputerSid to work correctly if a sid doesn't exist in the registry.
This makes the tests run correctly on first invocation.
2006-09-25 17:55:40 +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 39b77ec560 advapi32: LookupAccountSid buffer size query fixes. 2006-08-21 12:07:50 +02:00
Robert Reif 0f3cd3f224 advapi32: Add more SIDs to AccountLookupSid. 2006-08-14 11:45:53 +02:00
Robert Reif da44bfc02d advapi32: Add some more well known SIDs. 2006-08-12 11:40:21 +02:00
Robert Reif 1b8cfc5151 advapi32: Add a computer SID to the registry. 2006-08-04 12:04:06 +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 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
Robert Reif c4ac8c5b16 advapi32: Add CreateWellKnownSid and IsWellKnownSid. 2006-07-17 13:45:11 +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 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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Paul Chitescu b1cbecbbc6 advapi32: Add stub FileEncryptionStatus and declarations. 2006-05-20 16:56:16 +02:00
Francois Gouget 17689c07bb Fix some winapi_check documentation warnings. 2006-05-15 15:05:15 +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 Shearman 35596ee290 advapi32: Implement the majority of ImpersonateLoggedOnUser. 2006-05-05 16:35:55 +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
Ulrich Czekalla 7aa3be4741 advapi32: Add partial implementation of LookupAccountNameW. 2006-02-22 11:32:41 +01:00
Ulrich Czekalla 5ceb274724 advapi32: Add stub for ObjectDeleteAuditAlarmW. 2006-02-02 13:19:11 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +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
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
Markus Amsler d45811ce2a Improve c2man Documented-Total count. 2005-11-04 11:43:27 +00:00
Robert Shearman c218e74184 Fix String SID parsing. 2005-09-16 18:44:17 +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
James Hawkins fb46998825 Branch the LSA functions from security.c to lsa.c. 2005-07-06 10:37:50 +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
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