summaryrefslogtreecommitdiff
path: root/source3/smbd/password.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/password.c')
-rw-r--r--source3/smbd/password.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index baa2823732..9e59815e52 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -203,7 +203,6 @@ NT_USER_TOKEN *create_nt_token(uid_t uid, gid_t gid, int ngroups, gid_t *groups)
psids = token->user_sids;
token->num_sids = 2;
- token->num_sids = ngroups + 2;
uid_to_sid( &psids[0], uid);
gid_to_sid( &psids[1], gid);