mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +00:00
[SAMSRV]
Initialize default domain ForceLogoff time. svn path=/trunk/; revision=59685
This commit is contained in:
parent
88d8880262
commit
206be3cc65
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue