From 185cda71292e91ef6f309221c8be794a641f4c02 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Tue, 9 Dec 2008 08:33:26 +0000 Subject: [PATCH] SeUnsolicitedInputPrivilege is obsolete - the LUID is used by SE_MACHINE_ACCOUNT_PRIVILEGE now svn path=/trunk/; revision=37955 --- reactos/dll/win32/advapi32/sec/misc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/reactos/dll/win32/advapi32/sec/misc.c b/reactos/dll/win32/advapi32/sec/misc.c index 8245dafee0b..117c4b4ad39 100644 --- a/reactos/dll/win32/advapi32/sec/misc.c +++ b/reactos/dll/win32/advapi32/sec/misc.c @@ -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; }