xfs
[Top] [All Lists]

Re: [SLIGHTLY OT] XFS ACL support in Samba

To: Seth Mos <knuffie@xxxxxxxxx>, Federico Sevilla III <jijo@xxxxxxxxxxxxxxxxxxxx>
Subject: Re: [SLIGHTLY OT] XFS ACL support in Samba
From: "Nathan Scott" <nathans@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 16 Jul 2001 11:35:15 +1000
Cc: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
In-reply-to: Seth Mos <knuffie@xxxxxxxxx> "Re: [SLIGHTLY OT] XFS ACL support in Samba" (Jul 15, 11:46am)
References: <Pine.BSI.4.10.10107151142210.24189-100000@xxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
hi,

On Jul 15,  4:44pm, Federico Sevilla III wrote:
> Subject: [SLIGHTLY OT] XFS ACL support in Samba
> ...
> I have the latest source package of Samba 2.2.1a (with the Debian build
> scripts thanks to the maintainer). I modified the line calling configure
> to add the --with-acl-support parameter so it now reads:
> 
> [ -f source/Makefile ] || (cd source && ./configure --with-fhs           \
>    --prefix=/usr --sysconfdir=/etc --with-privatedir=/etc/samba          \
>    --with-lockdir=/var/state/sa mba --localstatedir=/var --with-netatalk \
>    --with-smbmount --with-pam --with-syslo g --with-sambabook            \
>    --with-utmp --with-readline --with-acl-support)
> 

did you cut&paste the above?  ie. do you really have:
"--with-lockdir=/var/state/sa mba"
                           ^^^^^^
and "--with-syslo g"
               ^^^^
as you've written above?  that would confuse "configure" no end.


I just tried the following recipe and it Works For Me (tm).

troppo# apt-get source samba
[ build acl debs, then: ]
troppo# dpkg -i ./acl-dev_1.0.8_i386.deb ./acl_1.0.8_i386.deb
...
troppo# cd samba-2.2.1a
[ vi ./debian/rules -> added --with-acl-support (see below) ]
troppo# dpkg-buildpackage
dpkg-buildpackage: source package is samba
dpkg-buildpackage: source version is 2.2.1a-1
dpkg-buildpackage: source maintainer is Eloy A. Paris <peloy@xxxxxxxxxx>
dpkg-buildpackage: host architecture is i386
...
 debian/rules build
dh_testdir
# Add here commands to configure the package.
[ -f source/Makefile ] || (cd source && ./configure --with-fhs --prefix=/usr 
--sysconfdir=/etc --with-privatedir=/etc/samba --with-lockdir=/var/state/samba 
--localstatedir=/var --with-netatalk --with-smbmount --with-pam --with-syslog 
--with-sambabook --with-utmp --with-readline --with-acl-support)
creating cache ./config.cache
checking for gcc... gcc
...
checking for sys/syscall.h... yes
checking for sys/acl.h... yes
checking for sys/cdefs.h... yes
...
checking statvfs64 function (SVR4)... yes
checking checking if large file support can be enabled... yes
checking whether to support ACLs... checking for acl_get_file in -lacl... yes
checking for ACL support... yes
Using posix ACLs
checking for acl_get_perm_np... no
checking configure summary
configure OK
...[continues with build]...


So that seems to have done the trick.

cheers.

-- 
Nathan


<Prev in Thread] Current Thread [Next in Thread>