https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8f63c209bc1ae1ad0240b…
commit 8f63c209bc1ae1ad0240b66f43e82efd4bb0d947
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Aug 26 20:26:34 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Aug 26 20:27:20 2018 +0200
[NET] Set the proper account expiration time (TIMEQ_FOREVER) when a new user account
is created
---
base/applications/network/net/cmdUser.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/base/applications/network/net/cmdUser.c
b/base/applications/network/net/cmdUser.c
index a67476e13d..fd8450057a 100644
--- a/base/applications/network/net/cmdUser.c
+++ b/base/applications/network/net/cmdUser.c
@@ -729,6 +729,7 @@ cmdUser(
UserInfo.usri4_name = lpUserName;
UserInfo.usri4_password = lpPassword;
UserInfo.usri4_flags = UF_SCRIPT | UF_NORMAL_ACCOUNT;
+ UserInfo.usri4_acct_expires = TIMEQ_FOREVER;
pUserInfo = &UserInfo;
}