Red Hat Bugzilla – Bug 182958
failed to set 0600 permissions on password file /etc/samba/smbpasswd
Last modified: 2014-08-31 19:28:07 EDT
Description of problem:
when smbd starts, it produces the following log message in smbd.log:
[2006/02/24 12:47:59, 0] passdb/pdb_smbpasswd.c:startsmbfilepwent(279)
startsmbfilepwent_internal: failed to set 0600 permissions on password file
/etc/samba/smbpasswd. Error was Permission denied
.Unable to open passdb database.
smbd process does start though and is still running after this error produced.
windows pc boxes are able to connect to smbd process but not authenticate.
i have tried changing permissions to 777 on both smbpasswd as well as /etc/samba
but to no avail. seen other posted discussion about this problem but no fixes.
ironically, if i remove smbpasswd and restart smbd, it has no problem creating
the file but then complains about the 0600 permissions problem again.
Version-Release number of selected component (if applicable):
every time i start smbd.
Steps to Reproduce:
1. /etc/init.d/smb start
0600 permissions error produced in /var/log/samba/smbd.log
that it would start successfully and actually work as intended...
is there a workaround in lieu of a fix?
Created attachment 125197 [details]
smbd log file on FC4 machine: peabody
Created attachment 125199 [details]
smbd log file for inbound connection from windows pc: gary_ibm
attached log files are based on following smb.conf debuglevel:
debuglevel = 1 passdb:10
never mind... had SELinux disabled (firewall anyways) but still had to change
setting to also disable SELinux protection for smbd daemon. works fine now.