Upload your smb4.conf file (located at /usr/local/etc) and post any relevant error messages from /var/log/samba/log.smbd
Please also give a detailed explanation of how you have configured access controls for your shares.
Please don't take too much of your time trying to help me, now that I found your thread, Overambitious Overview of CIFS Permissions, while doing a search for "access controls", maybe I can figure it out myself.
Strange, no samba dir:
[root@freenas ~]# cd /var/log/samba
bash: cd: /var/log/samba: No such file or directory
Code:
[global]
server max protocol = SMB3
encrypt passwords = yes
dns proxy = no
strict locking = no
oplocks = yes
deadtime = 15
max log size = 51200
max open files = 11070
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
getwd cache = yes
guest account = nobody
map to guest = Bad User
obey pam restrictions = Yes
directory name cache size = 0
kernel change notify = no
panic action = /usr/local/libexec/samba/samba-backtrace
server string = FreeNAS Server
store dos attributes = yes
map archive = no
map readonly = no
map hidden = no
map system = no
hostname lookups = yes
time server = yes
acl allow execute always = true
local master = yes
server role = standalone
netbios name = FREENAS
workgroup = WORKGROUP
security = user
pid directory = /var/run/samba
smb passwd file = /var/etc/private/smbpasswd
private dir = /var/etc/private
create mask = 0666
directory mask = 0777
client ntlmv2 auth = yes
dos charset = CP437
unix charset = UTF-8
log level = 1
[windowshare]
path = /mnt/vol1/dataset1
printable = no
veto files = /.snap/.windows/.zfs/
writeable = yes
browseable = yes
recycle:repository = .recycle/%U
recycle:keeptree = yes
recycle:versions = yes
recycle:touch = yes
recycle:directory_mode = 0777
recycle:subdir_mode = 0700
vfs objects = zfsacl streams_xattr aio_pthread
hide dot files = yes
guest ok = yes
inherit acls = yes
nfs4:mode = special
nfs4:acedup = merge
nfs4:chown = yes
zfsacl:acesort = dontcare