[Bug 572410] Re: [SRU] nmbd doesn't start because of missing testparm

Cypher2 nathanel.titane at gmail.com
Wed Dec 29 19:18:31 UTC 2010


im having the same issue on ubutnu maverick amd64

testparm returns no error on config and the nmbd daemon refuses to
start.. i cannot view shares through nautilus on any of my machines..

I've reconfigured samba, smaba-common and samba-common-bin with no
result

Here's all my term output for analysis on a reverted default config
(which should at least show printers folder):


nathanel at Mercury:~$ lsb_release -a && uname -a && smbd --version && nmbd --version
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.10
Release:	10.10
Codename:	maverick
Linux Mercury 2.6.35-24-generic #42-Ubuntu SMP Thu Dec 2 02:41:37 UTC 2010 x86_64 GNU/Linux
Version 3.5.4
Version 3.5.4

nathanel at Mercury:~$ testparm -s
Load smb config files from /etc/samba/smb.conf
rlimit_max: rlimit_max (1024) below minimum Windows limit (16384)
Can't find include file /etc/samba/dhcp.conf
Processing section "[printers]"
Processing section "[print$]"
Loaded services file OK.
ERROR: state directory /var/lib/samba does not exist
ERROR: cache directory /var/cache/samba does not exist
Server role: ROLE_STANDALONE
[global]
	server string = %h server (Samba, Ubuntu)
	encrypt passwords = No
	map to guest = Bad User
	obey pam restrictions = Yes
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	unix password sync = Yes
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	dns proxy = No
	usershare allow guests = Yes
	panic action = /usr/share/samba/panic-action %d

[printers]
	comment = All Printers
	path = /var/spool/samba
	create mask = 0700
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/printers

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.
https://bugs.launchpad.net/bugs/572410

Title:
  [SRU] nmbd doesn't start because of missing testparm



More information about the Ubuntu-server-bugs mailing list