[Samba] [Solved] ZFS samba share not allowing ACL members access

maillists_samba at diversity.nl maillists_samba at diversity.nl
Sun May 1 08:34:37 UTC 2022


Thank you Rowland. Setting the ACL correctly on the root folder and all 
the way to the shared folder did the trick.
I think I am all set now.

> On 01-05-2022 10:17, Rowland Penny via samba wrote:
>> On Sun, 2022-05-01 at 09:50 +0200, maillists_samba--- via samba wrote:
>>> I changed the subject to better reflect my problem.
>>> 
>>> I am running samba
>>> #testparm --version
>>> Version 4.13.13-Debian
>>> 
>>> #modinfo zfs | grep version
>>> version:        2.1.2-pve1
>>> srcversion:     0F243348A3846ED6C1A546D
>>> vermagic:       5.13.19-6-pve SMP mod_unload modversions
>>> 
>>> samba-vfs-modules is already the newest version
>>> (2:4.13.13+dfsg-1~deb11u3)
>>> 
>>> When setting in the globals section
>>> vfs objects = zfsacl
>> 
>> I said 'Is this Freebsd', it isn't, so you do not use 'zfsacl' with
>> ZOL, there is a lot of difference between zfs and ZOL.
>> 
>>> shares are no longer available and when connecting I get
>>> tree connect failed: NT_STATUS_BAD_NETWORK_NAME
>>> 
>>> So the goal is to have samba shares allow access to users in the ACL
>>> list on files and folders on ZFS
>> 
>> You are not using 'ZFS', you are using 'ZOL', so it should work just
>> like ext4.
>> 
>> You set the acls with setfacl on a directory in the path to the share
>> directory, not the share directory. Set the required permissions on 
>> the
>> share directory and allow others to traverse from the root '/' to the
>> share directory.
>> 
>> Rowland



More information about the samba mailing list