summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-15 09:46:54 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-15 09:46:54 +0000
commit7a2dc0872152fa3df572a65d11013ea208a4c8e0 (patch)
treed2ac08bc9fadca02f278d7cfbd94b4af459af590 /source3/smbd
parentc238b5c6a19945c34cfdb524a828957772c74cda (diff)
downloadsamba-7a2dc0872152fa3df572a65d11013ea208a4c8e0.tar.gz
samba-7a2dc0872152fa3df572a65d11013ea208a4c8e0.tar.bz2
samba-7a2dc0872152fa3df572a65d11013ea208a4c8e0.zip
fixed a call to get_current_groups()
(This used to be commit 61c524e8102d4f5cdcf7c949b55b5dc67a320c74)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index df930575d3..9ac610ab5a 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -531,7 +531,7 @@ static connection_struct *make_connection_snum(int snum, user_struct *vuser,
/* Find all the groups this uid is in and
store them. Used by change_to_user() */
initialise_groups(conn->user, conn->uid, conn->gid);
- get_current_groups(&conn->ngroups,&conn->groups);
+ get_current_groups(conn->gid, &conn->ngroups,&conn->groups);
conn->nt_user_token = create_nt_token(conn->uid, conn->gid,
conn->ngroups, conn->groups,