smali Posted November 17, 2010 Posted November 17, 2010 Hi! Maybe someone can help me with my problem. I have user folders in: /home/user1a /home/user2a /home/user3a /home/user4a ........ /home/user1b /home/user2b /home/user1b /home/user2b and etc. 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!
mister_z Posted December 4, 2010 Posted December 4, 2010 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. You [userShare] comment = %U Share path = /home/$U read only = No valid users = %U Good luck
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now