[Samba] ACL fully functional?

Simon Travers-Jones simon at compudigm.co.nz
Mon Mar 4 14:34:09 GMT 2002


I have a similar problem in that the security tab does not show up on 
_certain_ files if it is on a mapped drive.  It does show up however if 
i browse to the file through the nethood (from NT4ws - havnt tried 
anything else yet). Does this work for you??

btw - I havent quite assertained what the _certain_ is, I think its to 
do with ownership, but havent had much time to play.
Al Moote wrote:

>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
>>
>
>From a posting on the ACL-Devel list by Chris Faulhaber:
>
>This is a check for FreeBSD's acl_get_perm_np() function
>(FreeBSD/TrustedBSD implement non-POSIX.1e functions with
>a _np (non-portable) suffix). The Linux ACL library
>includes an acl_get_perm() implementation so not having
>this function should not be a concern.
>
>...Juergen
>
>

-- 

Simon Travers-Jones
Network Engineer
Compudigm International Ltd.
PH: +64 4 4999 881
FX: +64 4 4999 853
CL: +64 21 499 065






More information about the samba mailing list