From 1df78f48927975abcf7d03917fc339929ebc399a Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Wed, 21 Sep 2016 06:11:02 +0000 Subject: [PATCH] [LSALIB] LsaRegisterLogonProcess: Do not wait for \\SECURITY\\LSA_AUTHENTICATION_INITIALIZED to get signaled as it breaks the boot. svn path=/trunk/; revision=72753 --- reactos/sdk/lib/lsalib/lsa.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/reactos/sdk/lib/lsalib/lsa.c b/reactos/sdk/lib/lsalib/lsa.c index 4ed6b459129..932abb3f1fd 100644 --- a/reactos/sdk/lib/lsalib/lsa.c +++ b/reactos/sdk/lib/lsalib/lsa.c @@ -274,9 +274,13 @@ LsaRegisterLogonProcess(IN PLSA_STRING LogonProcessName, OUT PLSA_OPERATIONAL_MODE OperationalMode) { NTSTATUS Status; +#if 0 HANDLE EventHandle; +#endif UNICODE_STRING PortName; // = RTL_CONSTANT_STRING(L"\\LsaAuthenticationPort"); +#if 0 OBJECT_ATTRIBUTES ObjectAttributes; +#endif SECURITY_QUALITY_OF_SERVICE SecurityQos; LSA_CONNECTION_INFO ConnectInfo; ULONG ConnectInfoLength = sizeof(ConnectInfo); @@ -287,6 +291,7 @@ LsaRegisterLogonProcess(IN PLSA_STRING LogonProcessName, if (LogonProcessName->Length > LSASS_MAX_LOGON_PROCESS_NAME_LENGTH) return STATUS_NAME_TOO_LONG; +#if 0 /* * First check whether the LSA server is ready: * open the LSA event and wait on it. @@ -312,6 +317,7 @@ LsaRegisterLogonProcess(IN PLSA_STRING LogonProcessName, DPRINT1("NtWaitForSingleObject failed (Status 0x%08lx)\n", Status); return Status; } +#endif /* Now attempt the connection */ RtlInitUnicodeString(&PortName, L"\\LsaAuthenticationPort"); -- 2.17.1