proper samba labeling

Ivan Gyurdiev ivg2 at cornell.edu
Mon Apr 25 21:22:52 UTC 2005


On Mon, 2005-04-25 at 23:12 +0200, Farkas Levente wrote:
> Ivan Gyurdiev wrote:
> > On Mon, 2005-04-25 at 21:43 +0200, Farkas Levente wrote:
> > 
> >>hi,
> >>we just upgrade some of our server to selinux enabled kernel. but the 
> >>date files are on a raid array which just remounted. this samba server's 
> >>files are also on that array and they are not labeled at all. what is 
> >>the right labeling for samba shares? i look trough policy source files 
> >>but i can't find any proper type for samba. or it's the right way to not 
> >>label sabma files at all?
> > 
> > 
> > I think it's samba_share_t.
> > 
> 
> i can't find such type:-(

It's in src/policy/domains/program/samba.te
in both the targeted and strict policy on my computer.

However, this is rawhide. Is yours running the FC3 policy, perhaps?
I can't remember if FC3 had a policy for samba in targeted.

-- 
Ivan Gyurdiev <ivg2 at cornell.edu>
Cornell University




More information about the fedora-selinux-list mailing list