summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_pipe.c1
-rw-r--r--source3/smbd/service.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c
index 01d9568477..fd5155a554 100644
--- a/source3/rpc_server/srv_pipe.c
+++ b/source3/rpc_server/srv_pipe.c
@@ -463,7 +463,6 @@ failed authentication on named pipe %s.\n", domain, pipe_user_name, wks, p->name
/* Set up pipe user group membership. */
initialise_groups(pipe_user_name, p->pipe_user.uid, p->pipe_user.gid);
- initialize_groups(pipe_user_name, p->pipe_user.uid, p->pipe_user.gid);
get_current_groups( &p->pipe_user.ngroups, &p->pipe_user.groups);
/* Create an NT_USER_TOKEN struct for this user. */
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index e1e0fde32f..6d07562743 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -460,7 +460,6 @@ connection_struct *make_connection(char *service,char *user,char *password, int
/* 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);
/* check number of connections */