mirror of
https://github.com/reactos/wine.git
synced 2024-12-03 01:12:25 +00:00
advapi32: Fix group ownership test on Vista.
This commit is contained in:
parent
624bbd980f
commit
0ae8f2daa4
@ -3198,7 +3198,8 @@ static void test_GetNamedSecurityInfoA(void)
|
||||
bret = GetSecurityDescriptorGroup(pSD, &group, &group_defaulted);
|
||||
ok(bret, "GetSecurityDescriptorGroup failed with error %d\n", GetLastError());
|
||||
ok(group != NULL, "group should not be NULL\n");
|
||||
ok(EqualSid(group, admin_sid) || broken(EqualSid(group, system_sid)) /* before Win7 */,
|
||||
ok(EqualSid(group, admin_sid) || broken(EqualSid(group, system_sid)) /* before Win7 */
|
||||
|| broken(((SID*)group)->SubAuthority[0] == SECURITY_NT_NON_UNIQUE) /* Vista */,
|
||||
"MACHINE\\Software group SID != Local System SID.\n");
|
||||
LocalFree(pSD);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user