Maybe someone can help me with my problem.
I have user folders in:
I want to create samba share that show me only selected folders. I.e.
User "TeacherA" see only /home/user*a folders and "TeacherB" see only /home/user*b folders
Thanks for help!
Wouldn't the [homes] section do that for you ? Or did you need a second share ?
If I needed a second one, I'd do it with an enumerated share, where the name of the folder matches the user name
Note that the unsername must match: teachera then needs /something/teachera, /home/teachera, /sambashare/teachera, anything like that.
comment = %U Share
path = /home/$U
read only = No
valid users = %U
There are currently 1 users browsing this thread. (0 members and 1 guests)