mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +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.LastLogon.QuadPart = 0;
|
||||||
FixedUserData.LastLogoff.QuadPart = 0;
|
FixedUserData.LastLogoff.QuadPart = 0;
|
||||||
FixedUserData.PasswordLastSet.QuadPart = 0;
|
FixedUserData.PasswordLastSet.QuadPart = 0;
|
||||||
FixedUserData.AccountExpires.LowPart = MAXULONG;
|
FixedUserData.AccountExpires.QuadPart = MAXLONGLONG;
|
||||||
FixedUserData.AccountExpires.HighPart = MAXLONG;
|
|
||||||
FixedUserData.LastBadPasswordTime.QuadPart = 0;
|
FixedUserData.LastBadPasswordTime.QuadPart = 0;
|
||||||
FixedUserData.UserId = ulRelativeId;
|
FixedUserData.UserId = ulRelativeId;
|
||||||
FixedUserData.PrimaryGroupId = DOMAIN_GROUP_RID_USERS;
|
FixedUserData.PrimaryGroupId = DOMAIN_GROUP_RID_USERS;
|
||||||
|
|
Loading…
Reference in a new issue