Re: AW: [expert] samba and ACls in 8.2

2002-04-24 Thread Sylvestre Taburet

Le Mardi 23 Avril 2002 22:07, J. Craig Woods a écrit :
> Sylvestre,
>
> I am not the poster that originally posted that Samba came without ACL
> support but my question to you still stands *UN*answered. Although you
> were unable or unwilling to answer the question, I asked a very simple
> question: where is this "samba.spec" file your refer to? While doing an
> install of 8.2, I chose to have Samba installed. Now, my installed has
> completed, and there is no samba.spec file. I realize that if, after my
> OS installation, I decided to build and intall Samba, I would then find
> a "samba.spec" file. BUT after doing a complete OS installation with
> Samba selected, where is the samba.spec file? I contend that there is
> no such file. So how would I know what "--configure-with" options have
> been used on Samba?
>

If you want to check the configure options samba was built with, then you 
have to check out the spec file in the samba SRPM. sorry about that.

You can also ldd on the smbd binary for instance, and check that libacl is 
properly linked:

[root@ryu root]# ldd /home/rpm/rpm/BUILD/samba-2.2.3a/source/bin/smbd
libacl.so.1 => /lib/libacl.so.1 (0x40029000)
libcups.so.2 => /usr/lib/libcups.so.2 (0x4002f000)
libdl.so.2 => /lib/libdl.so.2 (0x4004a000)
libnsl.so.1 => /lib/libnsl.so.1 (0x4004e000)
libpam.so.0 => /lib/libpam.so.0 (0x40064000)
libc.so.6 => /lib/libc.so.6 (0x4006c000)
libssl.so.0 => /usr/lib/libssl.so.0 (0x401ab000)
libcrypto.so.0 => /usr/lib/libcrypto.so.0 (0x401d8000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x4000)

> The originator of this thread stated that no ACL support was compiled
> into the Samba that was installed while doing the system install. I
> think I hear you saying, "yes, it was". Again, my question is very
> simple, "how would I know what samba is compiled with since no
> samba.spec will exist on the system"?
>

Looks like you don't trust mdk developpers very much, uh? ;o)

> BTW why is this thread not directed to the expert list?

Because I just didn'nt want to bother other members of the expert list by 
posting the samba.spec file on the list. BTW did you check the spec file I 
sent to you? did you see why I stated "yes I have compiled the samba rpm with 
ACL support"?

>
> Craig Woods

Cheers
-- 
Sylvestre Taburet - Project Manager
Mandrakesoft S.A. - 43, rue d'Aboukir, 75002 Paris - FRANCE
+33 (1) 40 41 00 41 - http://www.linux-mandrake.com



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: AW: [expert] samba and ACls in 8.2

2002-04-07 Thread J. Craig Woods

Bauer Thomas wrote:
> Ok.. I found the answer myself: The samba build in the LM 8.2 samba RPM 
> wasn't configured with the --with-acl-support option.
> 
> After building it from the source manually and properly configured it 
> worked as expected.
> 
>  
> 
> Tom
> 
>  
> 
> -Ursprüngliche Nachricht-
> *Von:* Bauer Thomas [mailto:[EMAIL PROTECTED]]
> *Gesendet:* Samstag, 06. April 2002 18:49
> *An:* '[EMAIL PROTECTED]'
> *Betreff:* [expert] samba and ACls in 8.2
> 
> I'm using samba on XFS partitions with Mandrake 8.2 but samba does
> not recognize the ACL capabilities of the underlying filesystem.
> What can be wrong? setfacl and getfacl work without troubles. Is
> either samba or the kernel in  8.2 built without ACL support?
> 
>  
> 
> Tom


Hey Tom,

Thanks for answering your own post. It really helps when we can see the 
solution to a problem. In particular, it is good to know that the 
provided mandrake samba rpm does not have acl options compiled into it. 
I now know, if I need this option, it is time to start from souce. BTW 
did you "rpm -e" the original samba version?

Thanks,
J. Craig Woods
UNIX SA




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com