[LSALIB]
authorEric Kohl <eric.kohl@reactos.org>
Wed, 21 Sep 2016 06:11:02 +0000 (06:11 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Wed, 21 Sep 2016 06:11:02 +0000 (06:11 +0000)
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

index 4ed6b45..932abb3 100644 (file)
@@ -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");