mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 02:25:17 +00:00
[SAMSRV] Simplify the initialization of the account expiration date for new user accounts
This commit is contained in:
parent
dcc188e974
commit
a9f2677782
1 changed files with 1 additions and 2 deletions
|
@ -389,8 +389,7 @@ SampSetupCreateUserAccount(HANDLE hDomainKey,
|
|||
FixedUserData.LastLogon.QuadPart = 0;
|
||||
FixedUserData.LastLogoff.QuadPart = 0;
|
||||
FixedUserData.PasswordLastSet.QuadPart = 0;
|
||||
FixedUserData.AccountExpires.LowPart = MAXULONG;
|
||||
FixedUserData.AccountExpires.HighPart = MAXLONG;
|
||||
FixedUserData.AccountExpires.QuadPart = MAXLONGLONG;
|
||||
FixedUserData.LastBadPasswordTime.QuadPart = 0;
|
||||
FixedUserData.UserId = ulRelativeId;
|
||||
FixedUserData.PrimaryGroupId = DOMAIN_GROUP_RID_USERS;
|
||||
|
|
Loading…
Reference in a new issue