SAMBA home directories and SELinux

Jonathan Underwood j.underwood at open.ac.uk
Sun Oct 2 12:56:38 UTC 2005


Stephen Walton wrote:
> I have the usual entry in smb.conf on my FC4 server:
> 
> [homes]
>        comment = Home Directories
>        read only = No
>        browseable = No
> 
> As an additional wrinkle, home directories on the server are physically 
> on /users but get mounted on demand on /home on both the server and on 
> client workstations using a typical LDAP/autofs setup.
> 
> With SELinux enabled, both smbclient and users on Windows machines fail 
> to get access to home directories.  What magic chcon invocation do I need?
> 
I had this issue too, solved by:

 From Gnome desktop panel menus:

Desktop->System Settings->Security Level

(Alternatively run system-config-securitylevel from a command line)

Select SElinux tab, scroll down in the box at the bottom and expand the 
Samba section, and check "Allow samba to share users home directories"

Jonathan.




More information about the fedora-list mailing list