[CentOS] selinux with samba
davidmcguffey at verizon.net
Fri Oct 29 17:47:32 EDT 2010
I just set up samba to support some Win7 VMs on top of CentOS 5.5.
Recommend you read the first page or so of the smb.conf file
in /etc/samba. It gives guidance on what to do to ensure SELinux
doesn't get in the way.
I try to place my shares in something like /var/local/share and avoid
any system directories or /home. One can place shares there, but they
can be a pita to maintain and can present security risks.
On Fri, 2010-09-17 at 09:22 -0400, Phil Schaffner wrote:
> Geert Batsleer wrote on 09/17/2010 09:14 AM:
> > I'm having problems setting up a samba server with sellinux in centos
> > 5.6 (x64).
> > My samba config works flawlessly when selinux is disabled but fails to
> > access shares when selinux is enabled. Wich command makes it possible
> > to run samba with selinux without disabling it, now I've done: "set
> > sebool -P smbd_disable_trans 1" but doesn't really solve my problem.
> See the SELinux Wiki article, Section 7:
> CentOS mailing list
> CentOS at centos.org
More information about the CentOS