Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 2 Apr 2010 17:58:18 +0200
From:      Greg Byshenk <freebsd@byshenk.net>
To:        freebsd-ports@freebsd.org
Subject:   samba and zfs|nfsv4 acls
Message-ID:  <20100402155818.GG5220@core.byshenk.net>

next in thread | raw e-mail | index | archive | help
Does samba on FreeBSD work with ZFS ACLs?

Using the port, it appears that the vfs_zfsacl module is not built, even
when experimental modules are selected.  I've tried enabling nfs4_acls 
and vfs_zfsacl, but that results in an error (see below).

Will this work if I compile by hand, or do nfsv4 ACLs not work with Samba?


Compiling modules/vfs_zfsacl.c
modules/vfs_zfsacl.c: In function 'zfs_get_nt_acl_common':
modules/vfs_zfsacl.c:42: error: 'ace_t' undeclared (first use in this function)
modules/vfs_zfsacl.c:42: error: (Each undeclared identifier is reported only once
modules/vfs_zfsacl.c:42: error: for each function it appears in.)
modules/vfs_zfsacl.c:42: error: 'acebuf' undeclared (first use in this function)
modules/vfs_zfsacl.c:47: error: 'ACE_GETACLCNT' undeclared (first use in this function)
modules/vfs_zfsacl.c:60: error: expected expression before ')' token
modules/vfs_zfsacl.c:65: error: 'ACE_GETACL' undeclared (first use in this function)
modules/vfs_zfsacl.c:82: error: 'ACE_OWNER' undeclared (first use in this function)
modules/vfs_zfsacl.c:85: error: 'ACE_GROUP' undeclared (first use in this function)
modules/vfs_zfsacl.c:88: error: 'ACE_EVERYONE' undeclared (first use in this function)
modules/vfs_zfsacl.c: In function 'zfs_process_smbacl':
modules/vfs_zfsacl.c:106: error: 'ace_t' undeclared (first use in this function)
modules/vfs_zfsacl.c:106: error: 'acebuf' undeclared (first use in this function)
modules/vfs_zfsacl.c:112: error: expected expression before ')' token
modules/vfs_zfsacl.c:130: error: 'ACE_EVERYONE' undeclared (first use in this function)
modules/vfs_zfsacl.c:133: error: 'ACE_OWNER' undeclared (first use in this function)
modules/vfs_zfsacl.c:136: error: 'ACE_GROUP' undeclared (first use in this function)
modules/vfs_zfsacl.c:148: error: 'ACE_SETACL' undeclared (first use in this function)
The following command failed:
cc -O2 -pipe -DLDAP_DEPRECATED -fno-strict-aliasing -I. -I/usr/ports/net/samba34/work/samba-3.4.5/so
urce3 -I/usr/ports/net/samba34/work/samba-3.4.5/source3/iniparser/src -Iinclude -I./include  -I. -I.
 -I./../lib/replace -I/usr/local/include   -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I.
/librpc -I./.. -DHAVE_CONFIG_H  -I/usr/local/include -Iinclude -I./include -I. -I. -I./../lib/replac
e -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libaddns -I./librpc -I./.. -I./.
./lib/popt -I/usr/local/include -DLDAP_DEPRECATED  -I/usr/ports/net/samba34/work/samba-3.4.5/source3
/lib -I.. -I../source4 -D_SAMBA_BUILD_=3 -D_SAMBA_BUILD_=3 -fPIC -DPIC -c modules/vfs_zfsacl.c -o mo
dules/vfs_zfsacl.o
gmake: *** [modules/vfs_zfsacl.o] Error 1
*** Error code 1

Stop in /usr/ports/net/samba34.
*** Error code 1

Stop in /usr/ports/net/samba34.


-- 
greg byshenk  -  gbyshenk@byshenk.net  -  Leiden, NL



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100402155818.GG5220>