Yesup
 
 

Yamabay Knowledge Base

 

SMB share does not work on Fedora FC4

Previous Article Back to TOC Next Article

When you try to share an SMB resource abc in /etc/samba/smb.conf you get the folowing error message when connecting:


'/abc' does not exist or is not a directory, when connecting to ....


This is because the default setting of SELinux. You can overcome this problem by doing:

Pull up system-config-securitylevel, and click on the selinux tab.

Scroll down to samba, and disable all SElinux handling of SMB. Core 4 selinux seems to seriously hamper the ability of samba to resolve folders back to computers requesting that information.

The above approach is just a shortcut, to make SMB and SELinux live harmoniously, please read the samba_selinux man page. It explains how to set the correct label on the share directory.

Yesup
Top Stories Travel Movies Gift Ideas Free Software Games