summaryrefslogtreecommitdiff
path: root/source3/smbd/service.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/service.c')
-rw-r--r--source3/smbd/service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 8b63fe6662..500ba6e626 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -454,6 +454,7 @@ connection_struct *make_connection(char *service,char *user,char *password, int
if (!IS_IPC(conn)) {
/* Find all the groups this uid is in and
store them. Used by become_user() */
+ initialise_groups(conn->user, conn->uid, conn->gid);
initialize_groups(conn->user, conn->uid, conn->gid);
get_current_groups(&conn->ngroups,&conn->groups);