https://git.reactos.org/?p=reactos.git;a=commitdiff;h=4bbbc408205afaa34c8bd…
commit 4bbbc408205afaa34c8bda76a6ef6dea32501184
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Wed Aug 29 22:03:53 2018 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Wed Aug 29 22:03:53 2018 +0200
[NET] Initialize a new users primary group ID in order to fix logon failures
---
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 fd8450057a..f50c7904e5 100644
--- a/base/applications/network/net/cmdUser.c
+++ b/base/applications/network/net/cmdUser.c
@@ -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;
}