mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 19:26:05 +00:00
[SAMSRV]
Initialize default domain ForceLogoff time. svn path=/trunk/; revision=59685
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -577,7 +577,7 @@ SampSetupCreateDomain(IN HANDLE hServerKey,
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user