advapi32: Add a name for WinBuiltinAnyPackageSid.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2018-10-08 08:06:29 +03:00 committed by Alexandre Julliard
parent 7c0cd8c740
commit afaada7e5f
2 changed files with 3 additions and 2 deletions

View File

@ -128,7 +128,7 @@ static const WELLKNOWNSID WellKnownSids[] =
{ {'M','E'}, WinMediumLabelSid, { SID_REVISION, 1, { SECURITY_MANDATORY_LABEL_AUTHORITY}, { SECURITY_MANDATORY_MEDIUM_RID } } },
{ {'H','I'}, WinHighLabelSid, { SID_REVISION, 1, { SECURITY_MANDATORY_LABEL_AUTHORITY}, { SECURITY_MANDATORY_HIGH_RID } } },
{ {'S','I'}, WinSystemLabelSid, { SID_REVISION, 1, { SECURITY_MANDATORY_LABEL_AUTHORITY}, { SECURITY_MANDATORY_SYSTEM_RID } } },
{ {0,0}, WinBuiltinAnyPackageSid, { SID_REVISION, 2, { SECURITY_APP_PACKAGE_AUTHORITY }, { SECURITY_APP_PACKAGE_BASE_RID, SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE } } },
{ {'A','C'}, WinBuiltinAnyPackageSid, { SID_REVISION, 2, { SECURITY_APP_PACKAGE_AUTHORITY }, { SECURITY_APP_PACKAGE_BASE_RID, SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE } } },
};
/* these SIDs must be constructed as relative to some domain - only the RID is well-known */

View File

@ -310,7 +310,7 @@ static void test_sid(void)
{ "WD", "S-1-1-0" },
{ "CO", "S-1-3-0" },
{ "CG", "S-1-3-1" },
{ "OW", "S-1-3-4", 1 },
{ "OW", "S-1-3-4", 1 }, /* Vista+ */
{ "NU", "S-1-5-2" },
{ "IU", "S-1-5-4" },
{ "SU", "S-1-5-6" },
@ -336,6 +336,7 @@ static void test_sid(void)
{ "RU", "S-1-5-32-554" },
{ "RD", "S-1-5-32-555" },
{ "NO", "S-1-5-32-556" },
{ "AC", "S-1-15-2-1", 1 }, /* Win8+ */
{ "CA", "", 1 },
{ "DA", "", 1 },
{ "DC", "", 1 },