SeUnsolicitedInputPrivilege is obsolete - the LUID is used by SE_MACHINE_ACCOUNT_PRIV...
authorChristoph von Wittich <christoph_vw@reactos.org>
Tue, 9 Dec 2008 08:33:26 +0000 (08:33 +0000)
committerChristoph von Wittich <christoph_vw@reactos.org>
Tue, 9 Dec 2008 08:33:26 +0000 (08:33 +0000)
svn path=/trunk/; revision=37955

reactos/dll/win32/advapi32/sec/misc.c

index 8245daf..117c4b4 100644 (file)
@@ -1424,7 +1424,6 @@ LookupPrivilegeValueW(LPCWSTR SystemName,
       L"SeAssignPrimaryTokenPrivilege",
       L"SeLockMemoryPrivilege",
       L"SeIncreaseQuotaPrivilege",
-      L"SeUnsolicitedInputPrivilege",
       L"SeMachineAccountPrivilege",
       L"SeTcbPrivilege",
       L"SeSecurityPrivilege",
@@ -1464,7 +1463,7 @@ LookupPrivilegeValueW(LPCWSTR SystemName,
     {
       if (0 == wcsicmp(PrivName, DefaultPrivNames[Priv]))
         {
-          Luid->LowPart = Priv + 1;
+          Luid->LowPart = Priv + 2;
           Luid->HighPart = 0;
           return TRUE;
         }