[NET] Set the proper account expiration time (TIMEQ_FOREVER) when a new user account...
[reactos.git] / base / applications / network / net / cmdUser.c
index a67476e..fd84500 100644 (file)
@@ -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;
     }