Author: ekohl
Date: Sat Aug 10 12:53:29 2013
New Revision: 59685
URL:
http://svn.reactos.org/svn/reactos?rev=59685&view=rev
Log:
[SAMSRV]
Initialize default domain ForceLogoff time.
Modified:
trunk/reactos/dll/win32/samsrv/samsrv.h
trunk/reactos/dll/win32/samsrv/setup.c
Modified: trunk/reactos/dll/win32/samsrv/samsrv.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/samsrv.h?…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/samsrv.h [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/samsrv.h [iso-8859-1] Sat Aug 10 12:53:29 2013
@@ -9,6 +9,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <limits.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
Modified: trunk/reactos/dll/win32/samsrv/setup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/samsrv/setup.c?r…
==============================================================================
--- trunk/reactos/dll/win32/samsrv/setup.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/samsrv/setup.c [iso-8859-1] Sat Aug 10 12:53:29 2013
@@ -577,7 +577,7 @@
FixedData.DomainModifiedCount.QuadPart = 0;
FixedData.MaxPasswordAge.QuadPart = -(6LL * 7LL * 24LL * 60LL * 60LL *
TICKS_PER_SECOND); /* 6 weeks */
FixedData.MinPasswordAge.QuadPart = 0;
/* right now */
-// FixedData.ForceLogoff.QuadPart = // very far in the future aka never
+ FixedData.ForceLogoff.QuadPart = LLONG_MAX;
/* very far in the future aka never */
FixedData.LockoutDuration.QuadPart = -(30LL * 60LL * TICKS_PER_SECOND);
/* 30 minutes */
FixedData.LockoutObservationWindow.QuadPart = -(30LL * 60LL * TICKS_PER_SECOND);
/* 30 minutes */
FixedData.ModifiedCountAtLastPromotion.QuadPart = 0;