From: Greg Byshenk on
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(a)byshenk.net - Leiden, NL
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"

From: "Timur I. Bakeyev" on
Hi!

I've got a patch, that should solve this problem, using new port
devel/libsunacl. It's coming :)

With regards,
Timur.

On Fri, Apr 2, 2010 at 5:58 PM, Greg Byshenk <freebsd(a)byshenk.net> wrote:
> 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(a)byshenk.net  -  Leiden, NL
> _______________________________________________
> freebsd-ports(a)freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"
>
_______________________________________________
freebsd-ports(a)freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscribe(a)freebsd.org"