How to restrict to a group the sharing of homedir

Status
Not open for further replies.

fredG

Cadet
Joined
Dec 18, 2017
Messages
3
Hello,

Dell poweredge R520
Perc H710p
FreeNAS 11.1 stable

I enabled sharing smb "use as home share".
Now I would like to restrict the use of homedirs only to a group.
how to do ?

Google translation
 

fredG

Cadet
Joined
Dec 18, 2017
Messages
3
Yes but the video does not mention AD accounts and "use as home share" activation.

I was thinking :
1 change the parameter "valid users" in Sharing/Windows(smb)/Auxiliary Parameters but FreeNAS does not overwrite the value of "valid users"
2 change the permissions through a windows client but FreeNAS (samba) automatically adds the user to the homedir permissions

after several tests, I get almost what I want by adding the parameter
1) access based share enum = yes in Services/smb/Auxiliary parameters
2) valid users = @mygroup in /usr/local/etc/smb4.conf to the section [homes]

but how to keep this change (the second parameter) ?


Google translation
 
Status
Not open for further replies.
Top