Description of problem: I have two SMB shares, homes and shared. When SELinux is enforcing its targeted policy, Samba is unable to export these shares. Version-Release number of selected component (if applicable): selinux-policy-targeted-2.3.18-10 How reproducible: Every time Steps to Reproduce: 1. Set SELinux to enforce its targeted policy. 2. Attempt to access SMB shares from another computer. Actual results: The shares cannot be accessed. Expected results: The shares should be accessible from a remote machine. Additional info: I use Kerberos to authenticate and LDAP for netowrk information. Everything works fine when SELinux is in permissive mode.
Created attachment 138511 [details] Audit log -- attempt to mount homes with SELinux enabled
Created attachment 138512 [details] Audit log -- attempt to mount shared with SELinux enabled
Created attachment 138513 [details] Audit log -- attempt to mount homes with SELinux permissive
Created attachment 138514 [details] Audit log -- attempt to mount shared with SELinux permissive
Oops: setsebool samba_enable_home_dirs on chcon -R -t samba_share_t <PATH TO SHARE> Sorry about the noise.