[Samba] ACL fully functional?

Al Moote amoote at ivhs.com
Mon Mar 4 11:55:02 GMT 2002


Juergen,

Thanks for the insight, although this makes me think that the libraries are NOT installed correctly.  Otherwise the Linux ACL libs would (as stated) support acl_get_perm() and I would not be getting the message.  Am I wrong?

when I compiled Samba it checked whether to support acl_get_perm() ...no
That's what originally threw me off.

Also, I know that the OS supports ACL/EA because I can read/set them with getfacl/setfacl utils.  Samba does not let me set them with Windows 2000 security settings.  I have tried using the NT ACL SUPPORT = YES under my shares too.

What the hell am I doing wrong?  :)

Regards,

Alan B. Moote
Systems Administrator
MARK IV Industries
tel: 905.624.7908
fax: 905.625.6197




-----Hasch at t-online.de (Juergen Hasch) wrote: -----

To: "Al Moote" <amoote at ivhs.com>, jerry at samba.org
From: Hasch at t-online.de (Juergen Hasch)
Date: 02/26/2002 04:53PM
cc: samba at samba.org
Subject: Re: [Samba] ACL fully functional?

Am Dienstag, 26. Februar 2002 18:00 schrieb Al Moote:
> Sorry to drop this on you Gerald, but this is what my config.log reads, but
> I can't make sense of it. I _think_ it's looking for sys/acl.h, sys/types.h
> and confdefs.h but not finding them. Can you offer any insight into this? 
> Should I assume the ea/acl libs weren't installed properly?
>
> configure:12733: checking whether to support ACLs
> configure:12786: checking for acl_get_file in -lacl
> configure:12805: gcc -o conftest -O -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lacl -ldl -lnsl
> -lcrypt 1>&5 configure:12833: checking for ACL support
> configure:12847: gcc -o conftest -O -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lacl -ldl -lnsl -lcrypt
> 1>&5 configure:12867: checking for acl_get_perm_np
> configure:12881: gcc -o conftest -O -D_LARGEFILE64_SOURCE
> -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE conftest.c -lacl -ldl -lnsl -lcrypt
> 1>&5 /tmp/cc1E97JD.o: In function `main':
> /tmp/cc1E97JD.o(.text+0x9): undefined reference to `acl_get_perm_np'
> collect2: ld returned 1 exit status
> configure: failed program was:
> #line 12873 "configure"
> #include "confdefs.h"
> #include <sys/types.h>
> #include <sys/acl.h>
> int main() {
> acl_permset_t permset_d; acl_perm_t perm; return acl_get_perm_np(
> permset_d, perm); ; return 0; }
>
> Regards,
>
> Al Moote



More information about the samba mailing list