Commit Graph

207 Commits (fa9c9f0e4c052bbf1d828dd053b1a1a4d29400c6)

Author SHA1 Message Date
Marcus Meissner 508ef4ce20 advapi32: Removed redundant NULL check. 2008-10-31 13:04:04 +01:00
Paul Bryan Roberts f04804f44c advapi32: LookupAccountNameW() - only first user account and well known SIDs accepted. 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts 2981650435 advapi32: LookupAccountSidW() - handle first user account. 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts 0e6626958f advapi32: LookupAccountNameW() - NULL account name handled. 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts a37512ee63 advapi32: LookupAccountNameW() - use CreateWellKnownSid() properly. 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts a3e0bc10bb advapi32: LookupAccountNameW() - correct call in SetEntriesInAclW(). 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts 04cccae943 advapi32: LookupAccountNameW() - use ACCOUNT_SIDS domain and name_use fields for well known SIDS. 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts e9e4da8f36 advapi32: LookupAccountNameW() - return correct domain name length for not-so-well-known SIDs. 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts a1a2dd3509 advapi32: LookupAccountNameW() - passes expected SidTypeUser test. 2008-10-21 13:22:50 +02:00
Paul Bryan Roberts 7e0932d627 advapi32: ConvertStringSecurityDescriptorToSecurityDescriptor - more tests (pass). 2008-10-17 12:49:11 +02:00
Austin English 6f23a98c08 advapi32: Quiet a noisy fixme. 2008-10-15 14:02:16 +02:00
Marcus Meissner 49c1f1f464 advapi32: Check for NULL ptr. 2008-10-06 13:54:09 +02:00
Vijay Kiran Kamuju d2625be02f advapi32: Add stub for ConvertToAutoInheritPrivateObjectSecurity. 2008-08-28 11:03:36 +02:00
Dan Hipschman 62e5b6270b advapi32: Implement GetSecurityInfo. 2008-08-18 14:34:10 +02:00
Andrew Talbot 414cdc0475 advapi32: Sign-compare warnings fix. 2008-07-23 13:54:17 +02:00
Andrew Talbot e095a08a38 advapi32: Remove unneeded address-of operator from array name. 2008-07-08 10:47:47 +02:00
Louis Lenders 44afc4488c advapi32: Add stub for GetAuditedPermissionsFromAcl{A/W}. 2008-06-21 11:36:46 +02:00
Dan Hipschman 2904f543f4 advapi32: Add a stub for CreateRestrictedToken. 2008-03-22 11:14:13 +01:00
Rob Shearman b503bcf6e6 advapi32: Implement LookupAccountNameW for well-known groups. 2008-01-23 11:31:42 +01:00
Rob Shearman 6efa903cf0 advapi32: Implement SetEntriesInAclW. 2008-01-23 11:31:42 +01:00
Alexandre Julliard eb2d8458a3 advapi32: Move the EnumDependentServicesA/W stubs in service.c where they belong.
Make the stubs return success.
2007-12-20 15:00:42 +01:00
Andrew Talbot 263cb72e13 advapi32: Remove unneeded casts. 2007-12-03 13:10:21 +01:00
Louis Lenders defbdf76e5 advapi32: Add stub for CreateProcessWithLogonW. 2007-11-29 15:46:50 +01:00
Francois Gouget 81a5701ca9 Assorted spelling fixes. 2007-11-09 13:07:12 +01:00
Alexandre Julliard 0590fe2ecf Make some variables static. 2007-11-06 14:38:54 +01:00
Mikolaj Zalewski a1e0f773e0 advapi32: Add a well known sid. 2007-10-26 14:03:46 +02:00
Rob Shearman 6b081232b9 ntdll: Add a stub for RtlSetControlSecurityDescriptor.
Implement SetSecurityDescriptorControl on top of RtlSetControlSecurityDescriptor.
2007-10-23 18:20:45 +02:00
Francois Gouget b1335db353 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-23 18:19:42 +02:00
Mikołaj Zalewski cf509c29f1 advapi32: Make CreateWellKnownSid create domain sids (with test). 2007-10-22 14:54:39 +02:00
Mikołaj Zalewski b06379b2b3 advapi32: Add a test for CreateWellKnownSid and implement two more SIDs. 2007-10-22 14:54:39 +02:00
Bang Jun-young 27213de046 advapi32: Fix AdjustTokenPrivileges() to match the PSDK. 2007-10-17 13:44:01 +02:00
Francois Gouget d16a634c38 Better match the PSDK types and update win32.api to fix the winapi_check warnings. 2007-10-15 14:06:48 +02:00
Mikolaj Zalewski 719da96a3e advapi32: security: Remove unneeded FIXME. 2007-10-04 11:41:06 +02:00
Rob Shearman 00bc3d9e48 advapi32: Allow GetFileSecurityA/W to work on files that have been opened already with restricted sharing flags.
Only use the minimum required access rights for the information being retrieved.
2007-10-03 11:17:04 +02:00
Rob Shearman 1262d7dbef advapi32: Implement SetFileSecurityW on top of NtSetSecurityObject. 2007-10-03 11:16:59 +02:00
Mikolaj Zalewski 8fd1cf0f56 advapi32: Implement GetPrivateObjectSecurity (with test). 2007-09-28 11:26:45 +02:00
Mikolaj Zalewski 0590dc9b5c advapi32: In ConvertStringSecurityDescriptorToSecurityDescriptor "AU" should be checked before "A" (with testcase). 2007-09-28 11:26:25 +02:00
Mikolaj Zalewski 8188ce6fb1 advapi32: Make ConvertStringSecurityDescriptorToSecurityDescriptor write the ACL. 2007-09-28 11:26:18 +02:00
Michael Stefaniuc 790424f0ad advapi32: Move the storage specifier to the beginning of the declaration. 2007-09-27 11:08:21 +02:00
Mikolaj Zalewski 6d5d0eaafa advapi32: Make ConvertSidToStringSid use helper functions of ConvertSecurityDescriptorToStringSecurityDescriptor. 2007-09-26 12:15:14 +02:00
Mikolaj Zalewski 3198809fd5 advapi32: Implement ConvertSecurityDescriptorToStringSecurityDescriptor[AW]. 2007-09-26 12:15:14 +02:00
Christian Gmeiner bb3a968d30 advapi32: fix some compiler warnings when using -Wsign-compare. 2007-09-25 14:12:46 +02:00
Mikolaj Zalewski ff3ab48081 advapi32: Make ConvertStringSidToSid not to ignore the first subauthority. 2007-09-25 11:18:53 +02:00
Mikolaj Zalewski 57ca9ae92d advapi32: Add AddAuditAccessAceEx. 2007-09-25 11:18:45 +02:00
Mikołaj Zalewski 5b4aa62fd2 advapi32: Add some more rights constants for ConvertStringSecurityDescriptorToSecurityDescriptor. 2007-09-24 13:31:30 +02:00
Rob Shearman bcfe954451 advapi32: Fix ImpersonateNamedPipeClient to pass in a pointer to an IO_STATUS_BLOCK to NtFsControl.
Otherwise, NtFsControl file won't do anything except return STATUS_INVALID_PARAMETER.
2007-09-14 14:23:35 +02:00
Rob Shearman ccfa9ad8df advapi32: Set the right pointer so that StringAcl is updated correct in ParseAceStringRights.
The number of allowed hex digits should be 8, not 6.
2007-07-19 11:55:37 +02:00
Rob Shearman 6c24386e03 advapi32: Don't crash in ConvertStringSecurityDescriptorToSecurityDescriptorW if LocalAlloc fails. 2007-07-19 11:55:13 +02:00
Rob Shearman 4d5ce383f5 advapi32: Add the size of the security descriptor structure to the size of memory required in ParseStringSecurityDescriptorToSecurityDescriptor. 2007-07-19 11:55:06 +02:00
Rob Shearman 60d847b074 advapi32: Fix a typo in ParseStringAclToAcl which caused the ACE to be written inside of the ACL memory. 2007-07-19 11:54:59 +02:00