Hi all,
is someone here familiar with Samnba 4 and especially the samba-tool
written in Python?
The story so far: Samba4 can work with ZFS, and is able to use the
default s3fs.
The trap: the samba-tool provisioning script does not work with ZFS.
Reason according to Andrew Bartlett a few days ago:
"The issue is essentially that the python-based provision code need to
detect the use of zfs, load the zfsacl module in the generated smb.conf,
and instead of testing simple posix ACLs, proceed to setting a full NT
ACL when we create the sysvol share."
I am not familiar with python but had some limited success in reading
the code.
Anyway, a look at lib/python2.7/site-packages/samba/provision/__init__.py
let me suggest that I may
- test whether zfs is there (e.g using libc.getvfsbyname("zfs", byref(info))
- add lines as "nt acl support = yes"
into the smb.conf
- load the zfs_acl.so module (how?)
- modify the test when creating the SysVol
(at the moment smbd.set_simple_acls)
I wonder whether anyone could help a bit.
My main problem is the loading of the module. I could not figure out
how to do it, especially what's the proper "Samba way".
Thanks for help
Peter
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main