Author: ekohl
Date: Sun May 20 21:10:53 2012
New Revision: 56647
URL:
http://svn.reactos.org/svn/reactos?rev=56647&view=rev
Log:
[LSASS]
Load samsrv.dll and call SamIInitialize when lsass is started.
Modified:
trunk/reactos/base/system/lsass/CMakeLists.txt
trunk/reactos/base/system/lsass/lsass.c
Modified: trunk/reactos/base/system/lsass/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/lsass/CMakeLis…
==============================================================================
--- trunk/reactos/base/system/lsass/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/base/system/lsass/CMakeLists.txt [iso-8859-1] Sun May 20 21:10:53 2012
@@ -5,5 +5,5 @@
add_executable(lsass lsass.c lsass.rc)
set_module_type(lsass win32gui UNICODE)
-add_importlibs(lsass advapi32 lsasrv msvcrt kernel32 ntdll)
+add_importlibs(lsass advapi32 lsasrv samsrv msvcrt kernel32 ntdll)
add_cd_file(TARGET lsass DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/base/system/lsass/lsass.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/system/lsass/lsass.c?…
==============================================================================
--- trunk/reactos/base/system/lsass/lsass.c [iso-8859-1] (original)
+++ trunk/reactos/base/system/lsass/lsass.c [iso-8859-1] Sun May 20 21:10:53 2012
@@ -30,7 +30,7 @@
#include <ndk/psfuncs.h>
#include <lsass/lsasrv.h>
-//#include <samsrv.h>
+#include <samsrv/samsrv.h>
#include <lsass/lsass.h>
#define NDEBUG
@@ -63,7 +63,6 @@
goto ByeBye;
}
-#if 0
/* Initialize the SAM server DLL. */
Status = SamIInitialize();
if (!NT_SUCCESS(Status))
@@ -71,7 +70,6 @@
DPRINT1("SamIInitialize() failed (Status 0x%08lX)\n", Status);
goto ByeBye;
}
-#endif
/* FIXME: More initialization */