I have compiled both my kernel (2.4.17) and samba (2.2.3a) to support ACL/EAs. It looks like it has gone well, but I get one message that worries me, but I don't know if it should or not. 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 As you can see, the last line is where my concern lies. Can anyone shed some light on what is being done here? Thanks alot, Al Moote
On Tue, 19 Feb 2002, amoote wrote:> I have compiled both my kernel (2.4.17) and samba (2.2.3a) to support > ACL/EAs. It looks like it has gone well, but I get one message that > worries me, but I don't know if it should or not. > > > 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 > > As you can see, the last line is where my concern lies. Can anyone > shed some light on what is being done here?Did you install the acl libraries? Check the tail end of config.log for details of the failure. jerry --------------------------------------------------------------------- Hewlett-Packard http://www.hp.com SAMBA Team http://www.samba.org -- http://www.plainjoe.org "Sam's Teach Yourself Samba in 24 Hours" 2ed. ISBN 0-672-32269-2 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--
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
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@t-online.de (Juergen Hasch) wrote: ----- To: "Al Moote" <amoote@ivhs.com>, jerry@samba.org From: Hasch@t-online.de (Juergen Hasch) Date: 02/26/2002 04:53PM cc: samba@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