Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Apr 2010 05:18:07 +0200
From:      "Timur I. Bakeyev" <timur@com.bat.ru>
To:        Greg Byshenk <freebsd@byshenk.net>
Cc:        freebsd-ports <freebsd-ports@freebsd.org>
Subject:   Re: samba and zfs|nfsv4 acls
Message-ID:  <t2k7d743c271004032018hac1a89ccw4e31c8c6678d24d1@mail.gmail.com>
In-Reply-To: <20100402155818.GG5220@core.byshenk.net>
References:  <20100402155818.GG5220@core.byshenk.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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. =A0I'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 fun=
ction)
> modules/vfs_zfsacl.c:42: error: (Each undeclared identifier is reported o=
nly 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 fu=
nction)
> 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 thi=
s 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 t=
his function)
> modules/vfs_zfsacl.c: In function 'zfs_process_smbacl':
> modules/vfs_zfsacl.c:106: error: 'ace_t' undeclared (first use in this fu=
nction)
> modules/vfs_zfsacl.c:106: error: 'acebuf' undeclared (first use in this f=
unction)
> 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 thi=
s function)
> modules/vfs_zfsacl.c:136: error: 'ACE_GROUP' undeclared (first use in thi=
s function)
> modules/vfs_zfsacl.c:148: error: 'ACE_SETACL' undeclared (first use in th=
is 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 -Ii=
nclude -I./include =A0-I. -I.
> =A0-I./../lib/replace -I/usr/local/include =A0 -I./../lib/tevent -I./../l=
ib/tdb/include -I./libaddns -I.
> /librpc -I./.. -DHAVE_CONFIG_H =A0-I/usr/local/include -Iinclude -I./incl=
ude -I. -I. -I./../lib/replac
> e -I/usr/local/include -I./../lib/tevent -I./../lib/tdb/include -I./libad=
dns -I./librpc -I./.. -I./.
> ./lib/popt -I/usr/local/include -DLDAP_DEPRECATED =A0-I/usr/ports/net/sam=
ba34/work/samba-3.4.5/source3
> /lib -I.. -I../source4 -D_SAMBA_BUILD_=3D3 -D_SAMBA_BUILD_=3D3 -fPIC -DPI=
C -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 =A0- =A0gbyshenk@byshenk.net =A0- =A0Leiden, NL
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



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