Commit a3f6410f authored by John K. Hohm's avatar John K. Hohm Committed by Alexandre Julliard

Set SE_GROUP_ENABLED in Attributes of Administrators SID during

NtQueryInformationToken for TokenGroups.
parent b79fc165
......@@ -354,6 +354,7 @@ NTSTATUS WINAPI NtQueryInformationToken(
/* we need to show admin privileges ! */
tgroups->GroupCount = 1;
tgroups->Groups->Attributes = SE_GROUP_ENABLED;
RtlAllocateAndInitializeSid( &sid,
2,
SECURITY_BUILTIN_DOMAIN_RID,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment