SELinux, Samba and Fedora 17 Home Directories

After upgrading to Fedora 17, I found that my home directory Samba
shares had mysteriously stopped working. After checking my logs (and
complaining on I found out that in Fedora 17 the
SELinux attributes for home directories has changed to disallow
sharing with Samba.

The workaround is located right in the /etc/samba/smb.conf file.

To enable Samba sharing for home directories, enter the following
command as root:

/sbin/setsebool -P samba_enable_home_dirs on

That will keep SELinux from denying access to your home directory

Additional information can be found reading the samba_selinux man page:

man 8 samba_selinux