Code: Select all
/etc/samba.smb.conf
[global]
security = user
passdb backend = tdbsam
[data]
path=/data
Code: Select all
/etc/selinux/config
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - No SELinux policy is loaded.
#SELINUX=enforcing
SELINUX=disabled
# SELINUXTYPE= can take one of three values:
# targeted - Targeted processes are protected,
# minimum - Modification of targeted policy. Only selected processes are protected.
# mls - Multi Level Security protection.
SELINUXTYPE=targeted
if I modifiy /etc/sestatus/config and set SELINUX=disabled (or permissive) then reboot, samba works.
What is the correct way to have SELINUX as enforcing and have samba work?
Is there any kind of documentation or manual for SELINUX for Redhat/CentOS 7.x ?
thanks.