On 2017-01-31 06:51, Jeremie Courreges-Anglas wrote:
AFAIK samba 4.4+ doesn't actually require the use of filesystem-level
ACLs. With s3fs, ACLs and Extended Attributes can be emulated with
the appropriate modules. These days I'm staying away from samba 'cause
I can't properly test it, but iirc this:
xattr_tdb:file = /var/samba/xattr.tdb
in smb.conf/[global] was enough last time I checked. The appropriate
modules should be autodetected (you can see them with testparm).
Tried that, as well as a few other settings to ignore filesystem acl's.
The problem is that you always end up with a runtime error stating
"Samba was compiled without the posix ACL support that s3fs requires."
Can we compile with posix ACL support without actually having that
support? Perhaps samba needs those options in order to emulate ACL's /
xattr's with a tdb file?
I am looking for more feedback from people that actually use samba on
OpenBSD, especially as domain controller. If you perform tests and
report back, that would be great. Preferably on -current which
provides
samba-4.5.
5.9 with S4.1 works well for my needs with ntvfs, this s3fs issue seems
to be preventing me from going much further. But i'm willing to spin up
a VM or two and see how current looks.
No, ntvfs/s3fs shouldn't be an actual problem. There are additional
reasons, like sanity. :)
Agreed, there seems to be code for s3fs to use tdbs instead, but
actually getting it to use it tdbs another problem of it's own.