A SERVICE OF

logo

15
5.3 Home Share Configuration
Samba allows for considerable customization of user home share definitions. At least one
method of home share configuration is not advisable when servicing multiple Terminal Server
users per smbd process.
The most common home share definition is the Samba [homes] share. Using the [homes] share
with or without Terminal Server results in accurate and effective handling of user home shares on
the Samba server.
However, using the %U substitution variable for a home share definition could result in
unexpected behavior when serving multiple users per smbd through Terminal Server. Observe
the following smb.conf share definition:
[home-share]
path = /home/%U
The %U substitution variable inserts the “session user name” into the /home/ location. If user
buffy mounts home-share, then samba tree connect (tconx) mounts the /home/buffy directory as
the service (share). An example from Terminal Server user buffy:
The end result is that the client connects to the /home/buffy Samba service, but that is not how
the Terminal Server interprets the service name. By examining the tconx SMB, the Terminal
Server service name is observed: