I have recently installed napp-it onto a Solaris 11 system running on a HP N40L Microserver. It all works great, but I am having a little trouble setting up SMB shares. I have migrated from FreeNAS, which is similar to napp-it, but the menus and terminology are a bit different.
I have two datasets on my pool, one called 'private', and one called 'public'. I want to be able to setup both of these as two separate shares, and I want to be able to read and write to BOTH shares with a specified user (requiring username/password credentials), but also allowing read-only 'guest' access to the 'public' share.
The way I did this in FreeNAS was as follows:
This way, when I accessed the shares from a Windows machine which I was logged into with the same credentials as the 'admin' user, I could see and read/write to both shares, but when I accessed the shares from a machine with different credentials, I could only see and read from the 'public' share.
Is it a similar procedure in napp-it?
I have two datasets on my pool, one called 'private', and one called 'public'. I want to be able to setup both of these as two separate shares, and I want to be able to read and write to BOTH shares with a specified user (requiring username/password credentials), but also allowing read-only 'guest' access to the 'public' share.
The way I did this in FreeNAS was as follows:
- Create pool
- Create ZFS datasets ('private' and 'public')
- Create an 'admin' user (that will have read/write access to both datasets)
- Edit ownership of datasets, giving the 'admin' user ownership with rwx permissions, and setting the 'guest' group as the group owner,with read-only access
- Add SMB/CIFS shares, adding a separate share for each dataset
This way, when I accessed the shares from a Windows machine which I was logged into with the same credentials as the 'admin' user, I could see and read/write to both shares, but when I accessed the shares from a machine with different credentials, I could only see and read from the 'public' share.
Is it a similar procedure in napp-it?