No !!!
The configure scripts should properly find the linux XFS ACL stuff if the
system is set up correctly. Sean finally got the Samba to compile correctly by
making sure that he had the following components in the right spot:
1. libacl.a (from the SGI Linux XFS)
/usr/lib/libacl.a
2. acl.h (from the same SGI Linux XFS .... It has the SGI (c) notice)
/usr/include/acl/acl.h
The following caveats must also be borne in mind.
1. The kernel needs to be compiled with both 'posix acls' and 'xfs file
support' enabled.
2. The ACL components need to be compiled and installed
a. these are in .../cmds/acl in the CVS download (or tarballs)
b. these require the acl-devel RPM from the rpms.
If those components are NOT in the right spots, the configuration script will
(properly) NOT configure in support for XFS ACLs.
If you use the 'fix' below, it will use the components designed for IRIX (not
Linux) XFS ACLs. Since Linux XFS ACLs are based on IRIX ACLs, this _may_
actually work... for awhile. If you get the configuration of your system
right, and use the correct parameters, you can get Samba running with the code
designed for Linux XFS. I would think that this would be the preferable course
of action.
On 17-May-2001 Klaus Strebel,ITS,204 wrote:
>
> ok, just updated samba-2.2.0 from cvs and had a look to the
> configure-script, search for
>
> ;;
> *irix*)
> echo "$ac_t""Using IRIX ACLs" 1>&6
> cat >> confdefs.h <<\EOF
>#define HAVE_IRIX_ACLS 1
> EOF
>
> and change it to
>
> ;;
> *irix*)
> *linux*)
> echo "$ac_t""Using IRIX ACLs" 1>&6
> cat >> confdefs.h <<\EOF
>#define HAVE_IRIX_ACLS 1
> EOF
>
> now it should know which acl.h and functions to use.
>
> Cheers
> Klaus
--
John M. Trostel
Linux OS Engineer
Connex
jtrostel@xxxxxxxxxx
|