xfs
[Top] [All Lists]

[SLIGHTLY OT] XFS ACL support in Samba

To: Linux XFS Mailing List <linux-xfs@xxxxxxxxxxx>
Subject: [SLIGHTLY OT] XFS ACL support in Samba
From: Federico Sevilla III <jijo@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 15 Jul 2001 16:44:57 +0800 (PHT)
Sender: owner-linux-xfs@xxxxxxxxxxx
Hi everyone,

This is slightly off-topic in that it's more about Samba than it is about
XFS. I hope this will be forgiven.

I know that some XFS users have gotten Samba 2.2.x to work with XFS ACLs.
I can't seem to get Samba 2.2.1a to compile properly (failing in the
configure stage) with ACL support. I am using Debian with the 2.4.7-pre6
kernel from the XFS CVS. I have the following packages built and installed
thanks to the wonderful Debian build scripts available in the XFS CVS tree
(I thought you guys were RedHat-centric, but discovering these wonderful
debian build scripts in the major cmd packages made me really happy):

acl-dev_1.0.8_i386.deb
acl_1.0.8_i386.deb
attr-dev_1.0.4_i386.deb
attr_1.0.4_i386.deb
xfsdump_1.0.9_i386.deb
xfslibs-dev_1.3.0_i386.deb
xfsprogs_1.3.0_i386.deb

These were all built (including my kernel) using the Debian prerelease of
gcc 2.95.4.

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)

Which looks correct. Unfortunately running debian/rules build from
/usr/src/samba/samba-2.2.1a yields the following:

...
checking for two-argument statfs with statfs.fsize member (4.4BSD and 
NetBSD)... no
checking for two-argument statfs with struct fs_data (Ultrix)... no
checking checking if large file support can be enabled... yes
checking whether to support ACLs... checking for acl_get_file in -lacl... no
checking for ACL support... no
checking configure summary
configure: error: summary failure. Aborting config
make: *** [configure-stamp] Error 1

Note: part of the snipped output reported that checks for _acl and __acl
yielded in "no" results.

Hmm ... I wonder what I'm doing wrong. I do believe I have all the
necessary packages properly installed. The acl-dev package contains
/usr/include/sys/acl.h which I think is where the file should be.

I hope someone who has done this before can help me out. Also, reading
material on Samba and ACLs aside from http://acl.bestbits.at/ would be
really great.

Thanks in advance!

 --> Jijo

--
Federico Sevilla III  :: jijo@xxxxxxxxxxxxxxxxxxxx
Network Administrator :: The Leather Collection, Inc.


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