mirror of
https://github.com/reactos/reactos.git
synced 2026-06-06 13:47:40 +08:00
[SAMSRV] Simplify the initialization of the account expiration date for new user accounts
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user