[Samba] still no access to shared folder
walker.aj325 at gmail.com
Mon Mar 29 13:50:32 UTC 2021
On Mon, Mar 29, 2021 at 8:03 AM Rowland penny via samba <
samba at lists.samba.org> wrote:
> On 29/03/2021 12:49, Maurizio Caloro wrote:
> >> Not being an expert on zfsacl (for that, read that I could never get it
> > work), but is this a share on freebsd, or is it ZOL ?
> > The share running on Debian Boster 10.8 - smbd 4.9.5 - Clients running
> > Windows 10.
> Again, not a ZFS expert, but it is my understanding that ZOL uses
> standard ACL's. vfs_zfsacl is meant for ZFS on freebsd (as far as I
> understand it).
That is correct. The vfs_zfsacl VFS module basically uses the Solaris ACL
api (acl / facl) to convert the native ZFS ACL to an NT ACL (via samba's
generic NFSv4 ACL code). This means that on FreeBSD there's an added
wrinkle of needing sysutils/libsunacl to convert the Solaris ACL api into
the native FreeBSD ACL api. None of this works on linux. If FreeBSD is
being used with zfs, the zfsacl vfs module should be used (not acl_xattr).
Currently, ZFS on Linux does not support NFSv4 ACLs. You can verify via the
command "zfs get acltype <pool/dataset>". "acltype" should be "posix" or
"posixacl" depending on ZFS version, and a vfs module storing the NT ACL in
an xattr (i.e. acl_xattr) should probably be used.
More information about the samba