Load samsrv.dll and call SamIInitialize when lsass is started.

svn path=/trunk/; revision=56647
This commit is contained in:
Eric Kohl 2012-05-20 21:10:53 +00:00
parent 91bf59e6d9
commit 734ab64dd0
2 changed files with 2 additions and 4 deletions

View file

@ -5,5 +5,5 @@ include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
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)

View file

@ -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 @@ wWinMain(IN HINSTANCE hInstance,
goto ByeBye;
}
#if 0
/* Initialize the SAM server DLL. */
Status = SamIInitialize();
if (!NT_SUCCESS(Status))
@ -71,7 +70,6 @@ wWinMain(IN HINSTANCE hInstance,
DPRINT1("SamIInitialize() failed (Status 0x%08lX)\n", Status);
goto ByeBye;
}
#endif
/* FIXME: More initialization */