Build LSASS.
Modified: trunk/reactos/subsys/system/directory.xml
Modified: trunk/reactos/subsys/system/lsass/lsass.c
Added: trunk/reactos/subsys/system/lsass/lsass.xml

Modified: trunk/reactos/subsys/system/directory.xml
--- trunk/reactos/subsys/system/directory.xml	2005-06-26 19:57:29 UTC (rev 16300)
+++ trunk/reactos/subsys/system/directory.xml	2005-06-26 21:01:19 UTC (rev 16301)
@@ -22,6 +22,9 @@
 <directory name="format">
 	<xi:include href="format/format.xml" />
 </directory>
+<directory name="lsass">
+	<xi:include href="lsass/lsass.xml" />
+</directory>
 <directory name="msiexec">
 	<xi:include href="msiexec/msiexec.xml" />
 </directory>

Modified: trunk/reactos/subsys/system/lsass/lsass.c
--- trunk/reactos/subsys/system/lsass/lsass.c	2005-06-26 19:57:29 UTC (rev 16300)
+++ trunk/reactos/subsys/system/lsass/lsass.c	2005-06-26 21:01:19 UTC (rev 16301)
@@ -1,5 +1,4 @@
-/* $Id$
- *
+/*
  * reactos/subsys/system/lsass/lsass.c
  *
  * ReactOS Operating System
@@ -27,9 +26,13 @@
  * 		Compiled successfully with egcs 1.1.2
  */
 #include <windows.h>
-#include NTOS_MODE_USER
+#include <ntsecapi.h>
+#define NTOS_MODE_USER
 #include <ndk/ntndk.h>
+
 #include <lsass/lsasrv.h>
+//#include <samsrv.h>
+#include <lsass/lsass.h>
 
 #define NDEBUG
 #include <debug.h>
@@ -46,6 +49,7 @@
   DPRINT("Local Security Authority Subsystem\n");
   DPRINT("  Initializing...\n");
 
+  /* Initialize the LSA server DLL. */
   Status = LsapInitLsa();
   if (!NT_SUCCESS(Status))
   {
@@ -53,8 +57,20 @@
     goto ByeBye;
   }
 
+#if 0
+  /* Initialize the SAM server DLL. */
+  Status = SamIInitialize();
+  if (!NT_SUCCESS(Status))
+  {
+    DPRINT1("SamIInitialize() failed (Status 0x%08lX)\n", Status);
+    goto ByeBye;
+  }
+#endif
+
   /* FIXME: More initialization */
 
+  DPRINT("  Done...\n");
+
 ByeBye:
   NtTerminateThread(NtCurrentThread(), Status);
 

Added: trunk/reactos/subsys/system/lsass/lsass.xml
--- trunk/reactos/subsys/system/lsass/lsass.xml	2005-06-26 19:57:29 UTC (rev 16300)
+++ trunk/reactos/subsys/system/lsass/lsass.xml	2005-06-26 21:01:19 UTC (rev 16301)
@@ -0,0 +1,10 @@
+<module name="lsass" type="win32gui" installbase="system32" installname="lsass.exe">
+	<include base="lsass">.</include>
+	<define name="UNICODE" />
+	<define name="_UNICODE" />
+	<define name="__USE_W32API" />
+	<library>ntdll</library>
+	<library>lsasrv</library>
+	<file>lsass.c</file>
+	<file>lsass.rc</file>
+</module>