mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:46:05 +00:00
Build LSASS.
svn path=/trunk/; revision=16301
This commit is contained in:
parent
a35b024258
commit
566e4b53a3
3 changed files with 32 additions and 3 deletions
|
@ -22,6 +22,9 @@
|
||||||
<directory name="format">
|
<directory name="format">
|
||||||
<xi:include href="format/format.xml" />
|
<xi:include href="format/format.xml" />
|
||||||
</directory>
|
</directory>
|
||||||
|
<directory name="lsass">
|
||||||
|
<xi:include href="lsass/lsass.xml" />
|
||||||
|
</directory>
|
||||||
<directory name="msiexec">
|
<directory name="msiexec">
|
||||||
<xi:include href="msiexec/msiexec.xml" />
|
<xi:include href="msiexec/msiexec.xml" />
|
||||||
</directory>
|
</directory>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
/* $Id$
|
/*
|
||||||
*
|
|
||||||
* reactos/subsys/system/lsass/lsass.c
|
* reactos/subsys/system/lsass/lsass.c
|
||||||
*
|
*
|
||||||
* ReactOS Operating System
|
* ReactOS Operating System
|
||||||
|
@ -27,9 +26,13 @@
|
||||||
* Compiled successfully with egcs 1.1.2
|
* Compiled successfully with egcs 1.1.2
|
||||||
*/
|
*/
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include NTOS_MODE_USER
|
#include <ntsecapi.h>
|
||||||
|
#define NTOS_MODE_USER
|
||||||
#include <ndk/ntndk.h>
|
#include <ndk/ntndk.h>
|
||||||
|
|
||||||
#include <lsass/lsasrv.h>
|
#include <lsass/lsasrv.h>
|
||||||
|
//#include <samsrv.h>
|
||||||
|
#include <lsass/lsass.h>
|
||||||
|
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
@ -46,6 +49,7 @@ WinMain(HINSTANCE hInstance,
|
||||||
DPRINT("Local Security Authority Subsystem\n");
|
DPRINT("Local Security Authority Subsystem\n");
|
||||||
DPRINT(" Initializing...\n");
|
DPRINT(" Initializing...\n");
|
||||||
|
|
||||||
|
/* Initialize the LSA server DLL. */
|
||||||
Status = LsapInitLsa();
|
Status = LsapInitLsa();
|
||||||
if (!NT_SUCCESS(Status))
|
if (!NT_SUCCESS(Status))
|
||||||
{
|
{
|
||||||
|
@ -53,8 +57,20 @@ WinMain(HINSTANCE hInstance,
|
||||||
goto ByeBye;
|
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 */
|
/* FIXME: More initialization */
|
||||||
|
|
||||||
|
DPRINT(" Done...\n");
|
||||||
|
|
||||||
ByeBye:
|
ByeBye:
|
||||||
NtTerminateThread(NtCurrentThread(), Status);
|
NtTerminateThread(NtCurrentThread(), Status);
|
||||||
|
|
||||||
|
|
10
reactos/subsys/system/lsass/lsass.xml
Normal file
10
reactos/subsys/system/lsass/lsass.xml
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue