advapi32: Add WinCreatorOwnerRightsSid to wellknown list.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
7f30ad1e47
commit
7c0cd8c740
|
@ -79,6 +79,7 @@ static const WELLKNOWNSID WellKnownSids[] =
|
||||||
{ {0,0}, WinLocalSid, { SID_REVISION, 1, { SECURITY_LOCAL_SID_AUTHORITY }, { SECURITY_LOCAL_RID } } },
|
{ {0,0}, WinLocalSid, { SID_REVISION, 1, { SECURITY_LOCAL_SID_AUTHORITY }, { SECURITY_LOCAL_RID } } },
|
||||||
{ {'C','O'}, WinCreatorOwnerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_OWNER_RID } } },
|
{ {'C','O'}, WinCreatorOwnerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_OWNER_RID } } },
|
||||||
{ {'C','G'}, WinCreatorGroupSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_RID } } },
|
{ {'C','G'}, WinCreatorGroupSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_RID } } },
|
||||||
|
{ {'O','W'}, WinCreatorOwnerRightsSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_OWNER_RIGHTS_RID } } },
|
||||||
{ {0,0}, WinCreatorOwnerServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_OWNER_SERVER_RID } } },
|
{ {0,0}, WinCreatorOwnerServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_OWNER_SERVER_RID } } },
|
||||||
{ {0,0}, WinCreatorGroupServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_SERVER_RID } } },
|
{ {0,0}, WinCreatorGroupServerSid, { SID_REVISION, 1, { SECURITY_CREATOR_SID_AUTHORITY }, { SECURITY_CREATOR_GROUP_SERVER_RID } } },
|
||||||
{ {0,0}, WinNtAuthoritySid, { SID_REVISION, 0, { SECURITY_NT_AUTHORITY }, { SECURITY_NULL_RID } } },
|
{ {0,0}, WinNtAuthoritySid, { SID_REVISION, 0, { SECURITY_NT_AUTHORITY }, { SECURITY_NULL_RID } } },
|
||||||
|
|
|
@ -310,6 +310,7 @@ static void test_sid(void)
|
||||||
{ "WD", "S-1-1-0" },
|
{ "WD", "S-1-1-0" },
|
||||||
{ "CO", "S-1-3-0" },
|
{ "CO", "S-1-3-0" },
|
||||||
{ "CG", "S-1-3-1" },
|
{ "CG", "S-1-3-1" },
|
||||||
|
{ "OW", "S-1-3-4", 1 },
|
||||||
{ "NU", "S-1-5-2" },
|
{ "NU", "S-1-5-2" },
|
||||||
{ "IU", "S-1-5-4" },
|
{ "IU", "S-1-5-4" },
|
||||||
{ "SU", "S-1-5-6" },
|
{ "SU", "S-1-5-6" },
|
||||||
|
|
|
@ -4325,6 +4325,7 @@ typedef struct _SID_AND_ATTRIBUTES {
|
||||||
#define SECURITY_CREATOR_GROUP_RID __MSABI_LONG(0x00000001)
|
#define SECURITY_CREATOR_GROUP_RID __MSABI_LONG(0x00000001)
|
||||||
#define SECURITY_CREATOR_OWNER_SERVER_RID __MSABI_LONG(0x00000002)
|
#define SECURITY_CREATOR_OWNER_SERVER_RID __MSABI_LONG(0x00000002)
|
||||||
#define SECURITY_CREATOR_GROUP_SERVER_RID __MSABI_LONG(0x00000003)
|
#define SECURITY_CREATOR_GROUP_SERVER_RID __MSABI_LONG(0x00000003)
|
||||||
|
#define SECURITY_CREATOR_OWNER_RIGHTS_RID __MSABI_LONG(0x00000004)
|
||||||
|
|
||||||
/* S-1-4 */
|
/* S-1-4 */
|
||||||
#define SECURITY_NON_UNIQUE_AUTHORITY {0,0,0,0,0,4}
|
#define SECURITY_NON_UNIQUE_AUTHORITY {0,0,0,0,0,4}
|
||||||
|
|
Loading…
Reference in New Issue