mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[LSASS]
Load samsrv.dll and call SamIInitialize when lsass is started. svn path=/trunk/; revision=56647
This commit is contained in:
parent
91bf59e6d9
commit
734ab64dd0
2 changed files with 2 additions and 4 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Reference in a new issue