Author: ekohl
Date: Sat Oct 16 08:48:25 2010
New Revision: 49163
URL:
http://svn.reactos.org/svn/reactos?rev=49163&view=rev
Log:
[LSASRV]
Add ServiceInit() stub and call it from lsass.
Modified:
trunk/reactos/base/system/lsass/lsass.c
trunk/reactos/dll/win32/lsasrv/lsasrv.c
trunk/reactos/dll/win32/lsasrv/lsasrv.spec
trunk/reactos/include/reactos/subsys/lsass/lsasrv.h
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] Sat Oct 16 08:48:25 2010
@@ -55,6 +55,14 @@
goto ByeBye;
}
+ /* Start the Netlogon service. */
+ Status = ServiceInit();
+ if (!NT_SUCCESS(Status))
+ {
+ DPRINT1("ServiceInit() failed (Status 0x%08lX)\n", Status);
+ goto ByeBye;
+ }
+
#if 0
/* Initialize the SAM server DLL. */
Status = SamIInitialize();
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.c?…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.c [iso-8859-1] Sat Oct 16 08:48:25 2010
@@ -64,6 +64,14 @@
}
+NTSTATUS WINAPI
+ServiceInit(VOID)
+{
+ TRACE("ServiceInit() called\n");
+ return STATUS_SUCCESS;
+}
+
+
void __RPC_FAR * __RPC_USER midl_user_allocate(SIZE_T len)
{
return RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, len);
Modified: trunk/reactos/dll/win32/lsasrv/lsasrv.spec
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/lsasrv/lsasrv.sp…
==============================================================================
--- trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/lsasrv/lsasrv.spec [iso-8859-1] Sat Oct 16 08:48:25 2010
@@ -62,4 +62,4 @@
@ stub LsarSetSecret
@ stub LsarSetSecurityObject
@ stub LsarSetSystemAccessAccount
- @ stub ServiceInit
+ @ stdcall ServiceInit()
Modified: trunk/reactos/include/reactos/subsys/lsass/lsasrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/include/reactos/subsys/lsa…
==============================================================================
--- trunk/reactos/include/reactos/subsys/lsass/lsasrv.h [iso-8859-1] (original)
+++ trunk/reactos/include/reactos/subsys/lsass/lsasrv.h [iso-8859-1] Sat Oct 16 08:48:25
2010
@@ -5,4 +5,7 @@
NTSTATUS WINAPI
LsapInitLsa(VOID);
+NTSTATUS WINAPI
+ServiceInit(VOID);
+
#endif /* __LSASRV_H */