summaryrefslogtreecommitdiffstats
path: root/source/auth
diff options
context:
space:
mode:
Diffstat (limited to 'source/auth')
-rw-r--r--source/auth/auth_util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/auth/auth_util.c b/source/auth/auth_util.c
index 507b3c725be..704f0989e3a 100644
--- a/source/auth/auth_util.c
+++ b/source/auth/auth_util.c
@@ -1202,6 +1202,7 @@ NTSTATUS create_token_from_username(TALLOC_CTX *mem_ctx, const char *username,
num_group_sids = 1;
group_sids = &primary_group_sid;
+ gids = gid;
*found_username = talloc_strdup(mem_ctx, username);
}