Уже несколько часов упорно пытаюсь понять - есть ли такой VFS-модуль в Samba 3.x версий.
Пробовал ставить порты: samba3, samba32 и samba33
Везде в сырцах есть патчи:
Код: Выделить всё
newfs:/root@[14:04]# locate zfs | grep "samba"
/usr/ports/net/samba3/files/patch-vfs_zfsacl.c
/usr/ports/net/samba32/work/samba-3.2.13/source/modules/vfs_zfsacl.c
/usr/ports/net/samba33/work/samba-3.3.6/source/modules/vfs_zfsacl.c
Код: Выделить всё
newfs:/root@[14:05]# cat /var/db/ports/samba33/options | grep "WITH_"
WITH_LDAP=true
WITH_ADS=true
WITH_WINBIND=true
WITH_ACL_SUPPORT=true
WITH_AIO_SUPPORT=true
WITH_FAM_SUPPORT=true
WITH_SYSLOG=true
WITH_QUOTAS=true
WITH_EXP_MODULES=true
WITH_POPT=true
Код: Выделить всё
newfs:/usr/local/lib/samba/vfs@[14:06]# ls
acl_tdb.so* cap.so* extd_audit.so* preopen.so* shadow_copy2.so* xattr_tdb.so*
acl_xattr.so* catia.so* fake_perms.so* readahead.so* smb_traffic_analyzer.so*
aio_fork.so* commit.so* full_audit.so* readonly.so* streams_depot.so*
audit.so* default_quota.so* netatalk.so* recycle.so* streams_xattr.so*
cacheprime.so* expand_msdfs.so* notify_fam.so* shadow_copy.so* syncops.so*
PS: Хочу перевести корпоративный файловый сервер на ZFS - НО жесткое требование - наличие ACL.
Система: FreeBSD 8.0-BETA2, AMD64
Ссылки по теме:
http://www.nineproductions.com/technolo ... alkthrough
http://www.edplese.com/samba-with-zfs.html
По последней ссылке в самом конце:
В самой FreeBSD ZFS ACL вроде как есть:Support for ZFS ACLs was slated to be included in version 3.0.26 the source releases of Samba but the release ended up being a security fix release. The next major Samba release will be 3.2.0 which will include integration of ZFS ACLs.
Despite the lack of ZFS ACL support in the source release of Samba, ZFS ACLs still work nicely with Samba. By design Samba performs fileo operations in the context of the user so that any existing access controls on the files apply regardless of Samba support for them.
http://www.opennet.ru/opennews/art.shtml?num=22319