mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
[LSASS]
Load samsrv.dll and call SamIInitialize when lsass is started. svn path=/trunk/; revision=56647
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user