summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/password.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 6d3a2d1a31..fe3c9fea0f 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -214,8 +214,6 @@ NT_USER_TOKEN *create_nt_token(uid_t uid, gid_t gid, int ngroups, gid_t *groups)
token->num_sids++;
}
}
- for (i = 0; i < ngroups; i++)
- gid_to_sid( &psids[i+2], groups[i]);
return token;
}