From e0936866ae43a0e5ace28cfb1af56c4e5725e3ff Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 12 May 2013 13:24:37 +0000 Subject: [PATCH] [WINLOGON] Wait for the LSA server to complete its initialization before initializing the GINA dll. This change is required because future changes to MSGINAs logon code will require access to the LSA. svn path=/trunk/; revision=59002 --- reactos/base/system/winlogon/winlogon.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/base/system/winlogon/winlogon.c b/reactos/base/system/winlogon/winlogon.c index 4349f1370fa..a3e828fc65f 100644 --- a/reactos/base/system/winlogon/winlogon.c +++ b/reactos/base/system/winlogon/winlogon.c @@ -363,6 +363,9 @@ WinMain(IN HINSTANCE hInstance, ExitProcess(1); } + /* Wait for the LSA server */ + WaitForLsass(); + /* Load and initialize gina */ if (!GinaInit(WLSession)) { @@ -374,9 +377,6 @@ WinMain(IN HINSTANCE hInstance, DisplayStatusMessage(WLSession, WLSession->WinlogonDesktop, IDS_REACTOSISSTARTINGUP); - /* Wait for the LSA server */ - WaitForLsass(); - #if 0 /* Connect to NetLogon service (lsass.exe) */ /* Real winlogon uses "Winlogon" */