Sebastian Lackner
e24eb501d3
advapi32: Forward ImpersonateAnonymousToken to ntdll.
2015-05-21 13:57:27 +09:00
Hans Leidekker
985e226c07
advapi32: Support parsing mandatory label ACE strings.
2015-04-17 14:53:13 +09:00
Piotr Caban
52df833a72
advapi32: Handle NULL DACL in SetSecurityInfo.
2015-04-03 17:07:44 +09:00
Piotr Caban
f974d72672
advapi32: Add DACL inheritance support in SetSecurityInfo.
2015-03-27 20:46:02 +09:00
Piotr Caban
f956bb4caa
advapi: Don't use CreateFile when opening file with possibly empty DACL.
2015-03-27 20:40:52 +09:00
André Hentschel
6eae6955b2
advapi32: Remove unused strings (Clang).
2014-11-25 19:49:34 +01:00
Nikolay Sivov
b60a2710f8
advapi32: Use heap helpers in security code.
2014-08-27 19:23:04 +02:00
André Hentschel
929d9fb9f7
advapi32: Use boolean return values in boolean functions.
2014-02-04 11:15:18 +01:00
Andrey Gusev
be367393c9
Assorted typos fixes.
2014-01-13 17:37:42 +01:00
Frédéric Delanoy
91f2435469
Assorted spelling fixes.
2014-01-09 17:39:59 +01:00
Nikolay Sivov
fd65b0a1c3
ntdll: Allow NULL return length argument in NtAdjustPrivilegesToken().
2013-12-02 10:52:41 +01:00
Christian Costa
0d8776fa59
advapi32: Specify the function is a stub in some FIXME.
2013-04-18 19:12:07 +02:00
Erich Hoover
5915954ef1
advapi32: Support registry objects in SetNamedSecurityInfo.
2013-02-05 20:15:32 +01:00
Erich Hoover
5368301a48
advapi32: Support registry objects in GetNamedSecurityInfo.
2013-02-05 11:15:37 +01:00
Erich Hoover
44593ba612
advapi32: Support service objects in SetNamedSecurityInfo.
2013-01-31 12:10:46 +01:00
Erich Hoover
08238b83b8
advapi32: Support service objects in GetNamedSecurityInfo.
2013-01-31 12:08:59 +01:00
Erich Hoover
d195bbeb69
advapi32: Make an internal routine for [Get|Set]SecurityInfo file objects.
2013-01-30 13:08:26 +01:00
Erich Hoover
e4717c299e
advapi32: Support service objects in SetSecurityInfo.
2013-01-30 13:07:38 +01:00
Ričardas Barkauskas
1593bdf9a6
advapi32: Partially implement CreateProcessWithTokenW.
2013-01-23 12:47:24 +01:00
Ričardas Barkauskas
9a448b5d6a
advapi32: Add AddMandatoryAce stub.
2013-01-23 12:44:37 +01:00
Hans Leidekker
bbb29e9d4c
advapi32: Improve the stub for CreateRestrictedToken.
2013-01-16 12:23:25 +01:00
Andrew Talbot
a377563b00
advapi32: Avoid signed-unsigned integer comparisons.
2013-01-02 13:35:52 +01:00
Erich Hoover
331b99cf19
advapi32: Support service objects in GetSecurityInfo.
2012-12-14 12:25:57 +01:00
Erich Hoover
e3986462df
advapi32: Return immediately for unsupported [Get|Set]NamedSecurityInfo objects.
2012-12-03 18:24:47 +01:00
Erich Hoover
722c2b1008
advapi: Implement GetNamedSecurityInfoW on top of GetSecurityInfo.
2012-11-28 20:14:53 +01:00
Erich Hoover
5851032d07
advapi: Implement SetNamedSecurityInfoW on top of SetSecurityInfo.
2012-11-28 20:14:53 +01:00
Erich Hoover
d5e40b0eff
advapi32: Implement SetSecurityInfo on top of NtSetSecurityObject.
2012-11-16 19:23:04 +01:00
Detlef Riekenberg
f7a6c4c323
advapi32: Allow string alias for common RID in sid strings.
2012-11-13 19:23:36 +01:00
Marcus Meissner
91a767d75b
advapi32: Free wstr in error case to avoid leak (Coverity).
2012-10-03 16:35:13 +02:00
Andrew Eikum
eaf709fb19
advapi32: Implement CreateProcessAsUserA.
2012-09-14 12:03:06 +02:00
Andrew Eikum
ac615a7e9a
advapi32: Consolidate helper function.
2012-09-14 12:03:01 +02:00
Hans Leidekker
40427f1a77
advapi32: Return a fake security descriptor from CreatePrivateObjectSecurity.
...
Based on a patch by Robert Shearman.
2012-03-30 15:29:49 +02:00
Marko Nikolic
30fde946fa
advapi32: Removed sign comparison warning.
2011-10-06 12:27:34 -05:00
Nikolay Sivov
5290766ae0
advapi32: Fix CheckTokenMemberShip for primary tokens.
2011-08-02 11:41:32 +02:00
Andrew Nguyen
4d154d007d
advapi32: Add stubs for GetNamedSecurityInfoExA/W.
2011-05-18 16:54:22 +02:00
Owen Rudge
65ba77bd5c
advapi32: Add basic SaferSetLevelInformation stub.
2011-04-04 12:26:12 +02:00
Francois Gouget
5b4f0dfc4c
advapi32: Make trustee_name_A_to_W() and free_trustee_name() static.
2011-03-16 14:14:23 +01:00
Hans Leidekker
837fc836aa
advapi32: Use a fixed computer SID that matches local user SIDs.
2011-03-02 12:50:59 +01:00
Andrew Nguyen
97fa635fc7
advapi32: Convert the trustee name buffer based on trustee form in SetEntriesInAclA.
2011-01-12 11:32:19 +01:00
Damian Dixon
a9bbd7dc86
advapi32: Implement SetEntriesInAclA by calling SetEntriesInAclW.
2011-01-03 16:37:59 +01:00
Hans Leidekker
eba814763a
advapi32: Return the computer name as referenced domain name in LookupAccountName.
2010-12-10 14:02:00 +01:00
Hans Leidekker
0cffcb77d6
advapi32: Fix handling of zero account and domain size parameters in LookupAccountSid.
2010-09-21 17:53:55 +02:00
Alexandre Goujon
2c127dd320
advapi32: Fix GetNamedSecurityInfo with NULL descriptor.
2010-08-24 17:57:41 +02:00
Andrew Talbot
8d5f7fe13f
advapi32: Constify some variables.
2010-07-28 12:21:48 +02:00
Andrew Talbot
7114094472
advapi32: Constify some variables.
2010-07-26 18:38:30 +02:00
Hans Leidekker
f2081fb2bd
advapi32: Stub out the Safer* functions a bit more.
2010-07-20 16:29:44 +02:00
James Hawkins
72158ac286
Revert "advapi32: Free descriptor if it isn't returned from GetSecurityInfo().".
...
This reverts commit dbd76575ef
.
According to MSDN, ppSecurityDescriptor must not be NULL if any of the
SID or ACL parameters are non-NULL. This is wrong, and native
GetSecurityInfo will happily return those pointers, leaving one unable
to free the original security descriptor.
2010-01-18 14:15:23 +01:00
Nikolay Sivov
dbd76575ef
advapi32: Free descriptor if it isn't returned from GetSecurityInfo().
2010-01-11 15:46:04 -06:00
Hans Leidekker
c0d79c475b
advapi32: Improve the stub for GetEffectiveRightsFromAclA.
2009-12-01 13:16:39 +01:00
Rob Shearman
1f3a14e767
advapi32: EqualSid should set last error to ERROR_SUCCESS.
2009-11-16 11:39:28 +01:00
Rob Shearman
1802a5b9ba
advapi32: Use a duplicate of the process token if a NULL token is passed into CheckTokenMembership and there is no thread token.
2009-11-11 10:56:03 +01:00
Rob Shearman
cf680ed0f2
advapi32: Implement CheckTokenMembership.
2009-11-09 19:44:11 +01:00
Alexandre Julliard
104a0f5439
advapi32: Fix lookup of the current user SID in SetEntriesInAclW.
2009-10-22 13:19:31 +02:00
Paul Vriens
e57edfea8b
advapi32: Skip leading spaces when parsing.
2009-10-13 16:23:09 +02:00
Andrey Turkin
7de9f842e5
advapi32: Ignore invalid MultipleTrusteeOperation values in SetEntriesInAcl.
2009-10-12 12:14:25 +02:00
Alexandre Julliard
07ec73fcaa
advapi32: Retrieve the current user SID from the server in lookup_user_account_name.
2009-10-06 16:49:22 +02:00
Rein Klazes
b46e2ef9b1
advapi32: SetEntriesInAclW() should accept account name "CURRENT_USER".
2009-08-17 15:52:57 +02:00
Stefan Leichter
5ffba2da97
advapi32: Add stub for SaferGetPolicyInformation.
2009-08-12 13:28:09 +02:00
Hans Leidekker
e5e40ef423
advapi32: Factor out lookup of local usernames and well-known SIDs.
...
Based on a patch by Aric Stewart.
2009-08-06 17:26:31 +02:00
Louis Lenders
011c5b8fae
advapi32: Add a few tests for GetSidSubAuthority and SetLastError correctly.
2009-06-29 15:08:00 +02:00
Alexandre Julliard
3a33ff7df9
advapi32: Fix self-relative security descriptor creation for 64-bit.
2009-06-16 13:28:08 +02:00
Aric Stewart
a61885d64d
advapi: Correct buffer length in LookupAccountNameW.
2009-05-28 12:42:17 +02:00
Aric Stewart
fe30b79d72
advapi32: Handle well qualified names in LookupAccountNameW for account names.
2009-05-19 15:26:05 +02:00
Hans Leidekker
dbe5453f7c
advapi32: Fix buffer size query for CreateWellKnownSid.
2009-04-15 15:56:38 -05:00
Aric Stewart
9d9a684ef6
advapi32: Handle fully qualified account names for well known sids in LookupAccountName.
2009-04-01 14:23:31 +02:00
Aric Stewart
4ea704d15a
advapi32: Alias some sids in LookupAccountName and make comparison case insensitive.
2009-03-30 17:48:24 +02:00
Aric Stewart
df1203342c
advapi32: Stub TreeResetNamedSecurityInfo for the IE8 installer.
2009-03-25 13:30:42 +01:00
Paul Bryan Roberts
be9875fb60
advapi32: Add stub for GetSecurityInfoExA.
2009-02-25 16:06:21 +01:00
Michael Stefaniuc
6a48bb4217
advapi32: Remove superfluous pointer casts.
2009-02-16 16:01:36 +01:00
Marcus Meissner
398b5cfef6
advapi32: LookupAccountNameW removed redundant NULL check (Coverity).
2009-02-09 14:37:22 +01:00
Marcus Meissner
fb3d3d020d
advapi32: Fixed size of userName.
2009-02-06 13:04:22 +01:00
Juan Lang
fc5ea773e5
advapi32: Support the computer name as an account name in LookupAccountNameW.
2009-02-05 14:24:19 +01:00
Aric Stewart
8dc84666a6
advapi32: Add Security Label sids used by IE7.
2009-02-04 12:25:35 +01:00
Nikolay Sivov
e7a27694b9
advapi32: Added SaferCreateLevel stub.
2009-01-15 13:06:39 +01:00
Alistair Leslie-Hughes
d0ccdfbd4f
advapi32: Correct off by one in LookupPrivilegeValueW.
2008-11-10 13:29:27 +01:00
Paul Bryan Roberts
2703721860
advapi32: Add TRACE to GetFileSecurity().
2008-11-07 12:01:18 +01:00
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