Struggled with this for a while. Doing all sorts of changes to the smb.conf file. Finally came across the following command on the internet to disable samba from selinux….


As root run…

setsebool -P smbd_disable_trans 1
I saw an error doing this, but a restart of samba saw success! Yay!
Here is my very simple smb.conf for reference.
[global]
workgroup = mshome
server string = Fairmaiden Samba Server
log file = /var/log/samba/%m.log
max log size = 50
dns proxy = no
username map = /etc/samba/smbusers
guest ok = yes
[printers]
comment = All Printers
path = /usr/spool/samba
browseable = no
printable = yes
[backups]
comment = Backups
path = /backups
writeable = yes
browseable = yes
guest ok = yes
[music]
comment = Music
path = /music
writeable = no
browseable = yes
guest ok = yes

About troyski

I'm a freelance UNIX engineer working in the UK. I'm married to Tina and between us we have six children. I'm a bit of an Apple fan boy, and all the Windows machines in the house are a thing of the past now.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Post navigation