summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-09-07 08:43:05 +0000
committerTim Potter <tpot@samba.org>2000-09-07 08:43:05 +0000
commit45d30f72ffc48ed06907f8eba1beed61be81f783 (patch)
tree1dd37dea25d02b5121faa702f5fa2d6f9af35491
parentb27571e9166ebf2254736a9a7a485f24be5b7017 (diff)
downloadsamba-45d30f72ffc48ed06907f8eba1beed61be81f783.tar.gz
samba-45d30f72ffc48ed06907f8eba1beed61be81f783.tar.bz2
samba-45d30f72ffc48ed06907f8eba1beed61be81f783.zip
Hopefully this should fix the primary group permission problem.
(This used to be commit 2f33ec41ac1d3243340455b6c3a6cea22d267f14)
-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;
}