+ Post New Thread
Results 1 to 2 of 2
*nix Thread, [SAMBA] Students folders in Technical; Hi! Maybe someone can help me with my problem. I have user folders in: /home/user1a /home/user2a /home/user3a /home/user4a ........ /home/user1b ...
  1. #1

    Join Date
    Jul 2007
    Posts
    23
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    [SAMBA] Students folders

    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!

  2. #2

    Join Date
    Jan 2009
    Location
    upstate New York
    Posts
    23
    Thank Post
    0
    Thanked 12 Times in 7 Posts
    Rep Power
    14
    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

SHARE:
+ Post New Thread

Similar Threads

  1. Bult create folders within Folders
    By ceebster in forum Windows
    Replies: 18
    Last Post: 29th March 2010, 11:35 AM
  2. Replies: 0
    Last Post: 29th August 2009, 12:39 PM
  3. Altering Students Folders
    By ninjabeaver in forum Windows Server 2000/2003
    Replies: 10
    Last Post: 20th August 2009, 10:26 AM
  4. Problem deleting lots of folders within folders
    By sradams1977 in forum Windows
    Replies: 11
    Last Post: 13th March 2008, 05:25 PM
  5. Replies: 1
    Last Post: 17th February 2007, 05:28 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •