Comment 14 for bug 596064

Revision history for this message
Dunkirk (david-davidkrider) wrote :

I tested what my /etc/init/nmbd.conf was doing at the command line:

---
root@server2:/var/log# /usr/bin/testparm -s --parameter-name='disable netbios'
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Processing section "[netlogon]"
Processing section "[profiles]"
Processing section "[homes]"
Processing section "[users]"
Processing section "[groups]"
Processing section "[pdf]"
Processing section "[printers]"
Processing section "[print$]"
.
.
.
Loaded services file OK.
ERROR: the 'unix password sync' parameter is set and there is no valid 'passwd program' parameter.
No
---

I simply got rid of the 'unix password sync' option in my smb.conf file (I wasn't really using it anyway), and everything started working again. Seems like any error in the Samba config is causing an exit code from testparm that's throwing off the stack of scripts that controls starting the process.