R: Re: R: Re: R: Re: Samba misconfiguration

antonio.montagnani at alice.it antonio.montagnani at alice.it
Thu Feb 24 08:30:59 UTC 2011



>----Messaggio originale----
>Da: dwalsh at redhat.com
>Data: 23-feb-2011 22.48

>A: "Community support for Fedora users"<users at lists.fedoraproject.org>
>Cc: 
"antonio montagnani"<antonio.montagnani at alice.it>
>Ogg: Re: R: Re: R: Re: Samba 
misconfiguration
>
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>On 
02/23/2011 05:43 PM, antonio montagnani wrote:
>> Daniel J Walsh ha scritto / 
said the following    il giorno/on 
>> 23/02/2011 23:17:
>> On 02/23/2011 04:52 
PM, antonio montagnani wrote:
>>>>> Daniel J Walsh ha scritto / said the 
following    il giorno/on
>>>>> 23/02/2011 22:18:
>>>>>>
>>>>>
>>>>> After my 
previous post, I went through man samba_selinux just after
>>>>> dinner, and 
also samba.conf file, and I understood that I should have
>>>>> done some 
homework on selinux labeling and so on :-) : What surprises me
>>>>> that on a 
different box in my home selinux is enforced too, but samba is
>>>>> working 
fine sharing folders, even if I didn't do my homework (i.e. no
>>>>> 
tip&tricks).
>>>>> The real difference between these two machines is a fresh 
installation
>>>>> of F14 (that is having these problems) and an F14 as update 
(when Samba
>>>>> was installed Selinux had been disabled).
>>>>>
>>>>> Set

>>>>>
>>>>> What do you suggest?? not a problem at home as I am working with 
Fedora
>>>>> only, a problem if I want share folders in a Windows environment 
(this
>>>>> is a laptop)
>>>>>
>>>>> 
>I think the easiest is
>
>setsebool -P 
samba_enabe_home_dirs 1
>
>You also have booleans
>samba_export_all_rw

>samba_export_all_ro
>
>To share everything.
>
>You could also label the 
content as samba_share_t.
>
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v1.
4.11 (GNU/Linux)
>Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/>

>iEYEARECAAYFAk1ljtsACgkQrlYvE4MpobNQxwCeLbLOWu0l4lxvPoI0ejA9eWwP
>

naturally 
it worked like a charm...

I apologize not having read documentation in advance


Thanks to Craig & Daniel for help

Antonio




More information about the users mailing list