summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>1999-07-22 04:47:14 +0000
committerTim Potter <tpot@samba.org>1999-07-22 04:47:14 +0000
commit331ab45321dd37ba72b9569c1d62e887200595f3 (patch)
tree587989bd8a7cadb6656be1bb793b3d3e10e20656
parentf809734105eaa1c111720111a10594a27bdf639f (diff)
downloadsamba-331ab45321dd37ba72b9569c1d62e887200595f3.tar.gz
samba-331ab45321dd37ba72b9569c1d62e887200595f3.tar.bz2
samba-331ab45321dd37ba72b9569c1d62e887200595f3.zip
Copy service name into vfs_connection_struct.
(This used to be commit 19242cd44e059d90e91f1c27bfb45899ce5de26a)
-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;