From owner-freebsd-ports@FreeBSD.ORG Sun Apr 4 03:18:09 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86D8D106566B for ; Sun, 4 Apr 2010 03:18:09 +0000 (UTC) (envelope-from timur@bat.ru) Received: from mail-bw0-f216.google.com (mail-bw0-f216.google.com [209.85.218.216]) by mx1.freebsd.org (Postfix) with ESMTP id 219468FC14 for ; Sun, 4 Apr 2010 03:18:08 +0000 (UTC) Received: by bwz8 with SMTP id 8so2330038bwz.3 for ; Sat, 03 Apr 2010 20:18:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.100.82 with HTTP; Sat, 3 Apr 2010 20:18:07 -0700 (PDT) In-Reply-To: <20100402155818.GG5220@core.byshenk.net> References: <20100402155818.GG5220@core.byshenk.net> Date: Sun, 4 Apr 2010 05:18:07 +0200 Received: by 10.204.134.70 with SMTP id i6mr4859782bkt.74.1270351087537; Sat, 03 Apr 2010 20:18:07 -0700 (PDT) Message-ID: From: "Timur I. Bakeyev" To: Greg Byshenk Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-ports Subject: Re: samba and zfs|nfsv4 acls X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Apr 2010 03:18:09 -0000 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 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" >