summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/service.c b/source3/smbd/service.c
index 232579a0f1..f0af82fb4e 100644
--- a/source3/smbd/service.c
+++ b/source3/smbd/service.c
@@ -548,7 +548,9 @@ connection_struct *make_connection(char *service,char *user,char *password, int
pstrcpy(vconn->connectpath, conn->connectpath);
pstrcpy(vconn->origpath, conn->origpath);
+ pstrcpy(vconn->service, service);
pstrcpy(vconn->user, conn->user);
+
vconn->uid = conn->uid;
vconn->gid = conn->gid;
vconn->ngroups = conn->ngroups;