pcmofo
Explorer
- Joined
- Mar 2, 2012
- Messages
- 98
I was running FreeNAS with CIFS for a general network share of media etc and AFP for private network shares and backups. Now I am moving to all CIFS shares and doing away with AFP. My shares appear to be working in my test setup, I'd like to know what you guys think.
I have one pool from a 6x 4tb RAIDz2 vdev. that I plan on expanding in the future with future 6-drive vdevs.
I want to store Media on a easily accessible CIFS share that any new user or device on the network can access.
I want each user to have their own private share for backups or personal media storage. (eg someone wont accidentally access my photo/video project files or delete them by mistake)
I have the following groups/users setup
User: UserA, Group: home
User: UserB, Group: home
User: freenas, Group: home
So I have set up my pool with the following datasets.
MainPool
MainPoolDataset
- SharedMedia (owner: nobody, group: home)
- UserA (owner: UserA, group:wheel)
- UserB (owner: UserB, group:wheel)
I then set up 3 CIFS shares and set the CIFS guest users to freenas user
- Media (allow guest access)
- UserA
- UserB
From there, on my Mac, I can use SMB to access the Media share logging in as either guest or UserA or UserB. When I log in it asks me what share I would like to access, Media, UserA, or UserB. If I choose one I am not permitted to access (wrong user or guest) then I can't connect! If I sign in as a specific user I can access both the shared Media and my private folder.
This solution appears to be working exactly how I want it to allowing both public and private shares on the LAN based on local user accounts. My question to you guys, is this the correct method for creating this type of local shares?
I have one pool from a 6x 4tb RAIDz2 vdev. that I plan on expanding in the future with future 6-drive vdevs.
I want to store Media on a easily accessible CIFS share that any new user or device on the network can access.
I want each user to have their own private share for backups or personal media storage. (eg someone wont accidentally access my photo/video project files or delete them by mistake)
I have the following groups/users setup
User: UserA, Group: home
User: UserB, Group: home
User: freenas, Group: home
So I have set up my pool with the following datasets.
MainPool
MainPoolDataset
- SharedMedia (owner: nobody, group: home)
- UserA (owner: UserA, group:wheel)
- UserB (owner: UserB, group:wheel)
I then set up 3 CIFS shares and set the CIFS guest users to freenas user
- Media (allow guest access)
- UserA
- UserB
From there, on my Mac, I can use SMB to access the Media share logging in as either guest or UserA or UserB. When I log in it asks me what share I would like to access, Media, UserA, or UserB. If I choose one I am not permitted to access (wrong user or guest) then I can't connect! If I sign in as a specific user I can access both the shared Media and my private folder.
This solution appears to be working exactly how I want it to allowing both public and private shares on the LAN based on local user accounts. My question to you guys, is this the correct method for creating this type of local shares?