[Samba] Setting ACLs with smbcacls fails (partly)
Chris
samba at kirsche.org
Fri Dec 27 12:59:27 UTC 2019
On 25/12/2019 20:04, Rowland penny via samba wrote:
> On 25/12/2019 16:46, Chris via samba wrote:
>> Hello,
> Merry Christmas
Thanks Rowland! Hope you had a Merry Christmas too
>> The shares of the file server are on the ZFS of the host and mapped
>> via bind-mount.
>
> Ah, that could be a problem, ZFS uses NFSv4 ACLs
>>
> Try 'nfs4acl_xattr' instead, see 'man vfs_nfs4acl_xattr'
I tried to set in the [users] share. The result in the log.smbd looks
like this:
------
root at svr-002:/# tail -f /var/log/samba/log.smbd [2019/12/27
13:39:51.454236, 0] ../source3/smbd/service.c:631(make_connection_snum)
make_connection_snum: vfs_init failed for service users
[2019/12/27 13:39:51.455426, 0] ../lib/util/modules.c:49(load_module)
Error loading module
'/usr/lib/x86_64-linux-gnu/samba/vfs/nfs4acl_xattr.so':
/usr/lib/x86_64-linux-gnu/samba/vfs/nfs4acl_xattr.so: cannot open shared
object file: No such file or directory
[2019/12/27 13:39:51.455461, 0] ../source3/smbd/vfs.c:184(vfs_init_custom)
error probing vfs module 'nfs4acl_xattr': NT_STATUS_UNSUCCESSFUL
[2019/12/27 13:39:51.455479, 0] ../source3/smbd/vfs.c:379(smbd_vfs_init)
smbd_vfs_init: vfs_init_custom failed for nfs4acl_xattr
[2019/12/27 13:39:51.455494, 0]
../source3/smbd/service.c:631(make_connection_snum)
make_connection_snum: vfs_init failed for service users
------
I think thats due to the fact, that the NFSv4 support is probably not
build in the Linux ZFS version of proxmox. According to what I found on
github, the support for NFSv4 ACL is still under development.
Any other ideas?
Thanks,
Christian
More information about the samba
mailing list