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