[NET] Initialize a new users primary group ID in order to fix logon failures
authorEric Kohl <eric.kohl@reactos.org>
Wed, 29 Aug 2018 20:03:53 +0000 (22:03 +0200)
committerEric Kohl <eric.kohl@reactos.org>
Wed, 29 Aug 2018 20:03:53 +0000 (22:03 +0200)
base/applications/network/net/cmdUser.c

index fd84500..f50c790 100644 (file)
@@ -730,6 +730,7 @@ cmdUser(
         UserInfo.usri4_password = lpPassword;
         UserInfo.usri4_flags = UF_SCRIPT | UF_NORMAL_ACCOUNT;
         UserInfo.usri4_acct_expires = TIMEQ_FOREVER;
+        UserInfo.usri4_primary_group_id = DOMAIN_GROUP_RID_USERS;
 
         pUserInfo = &UserInfo;
     }