Subject: samba nmbd dies -- part 2
To: None <netbsd-help@netbsd.org>
From: None <oinkfreebiker@att.net>
List: netbsd-help
Date: 07/28/2001 00:45:38
It was probably me that submitted to the other mail
list. I was informed it was off topic for the
port-i386 list and was asked to take it elsewhere.

I figured here was the place and unsubscribed to
port-i386 and subscribed to netbsd-help instead.
I'm not using DNS for my 2-laptop network. I have
an 5-pc NT net with one NetBSD trying to Samba
at work and it has similar troubles. I am using
NetBSD 1.5 and Samba binary package from the 
Wasabi 4-CD set.

Anyway, to get output from testparm, I did this...

# testparm > /floppy/testparm.txt

...here is the output. I am not using DNS, I wanted
to keep it simple. At bottom is what I have inside my
/etc/nsswitch.conf file and below that is my hosts
file... In anycase, localhost should work regarless
I had thought??? Because the samba books have me set
up samba and test it before they have me set up any
clients. I can smbclient to the client, but not to
the host.

...Here is the output from testparm...

Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
	coding system = euc
	client code page = 932
	workgroup = WORKGROUP
	netbios name = 
	netbios aliases = 
	netbios scope = 
	server string = Samba Server
	interfaces = 
	bind interfaces only = No
	security = USER
	encrypt passwords = No
	update encrypted = No
	allow trusted domains = Yes
	hosts equiv = 
	min password length = 5
	map to guest = Never
	null passwords = No
	password server = 
	smb passwd file = /etc/samba/private/smbpasswd
	root directory = /
	passwd program = /usr/bin/passwd
	passwd chat = *new*password* %n\n *new*password* 
%n\n *changed*
	passwd chat debug = No
	username map = 
	password level = 0
	username level = 0
	unix password sync = No
	restrict anonymous = No
	use rhosts = No
	debug level = 2
	syslog = 1
	syslog only = No
	log file = /usr/local/samba/var/log.%m
	max log size = 50
	debug timestamp = Yes
	debug hires timestamp = No
	debug pid = No
	debug uid = No
	protocol = NT1
	read bmpx = No
	read raw = Yes
	write raw = Yes
	nt smb support = Yes
	nt pipe support = Yes
	nt acl support = Yes
	announce version = 4.2
	announce as = NT
	max mux = 50
	max xmit = 65535
	name resolve order = hosts lmhosts wins bcast
	max ttl = 259200
	max wins ttl = 518400
	min wins ttl = 21600
	time server = No
	change notify timeout = 60
	deadtime = 0
	getwd cache = Yes
	keepalive = 300
	lpq cache time = 10
	max disk size = 0
	max open files = 10000
	read prediction = No
	read size = 16384
	shared mem size = 1048576
	socket options = TCP_NODELAY
	stat cache size = 50
	load printers = Yes
	printcap name = /etc/printcap
	printer driver file = /etc/samba/printers.def
	strip dot = No
	character set = 
	mangled stack = 50
	stat cache = Yes
	domain groups = 
	domain admin group = 
	domain guest group = 
	domain admin users = 
	domain guest users = 
	machine password timeout = 604800
	add user script = 
	delete user script = 
	logon script = 
	logon path = \\%N\%U\profile
	logon drive = 
	logon home = \\%N\%U
	domain logons = No
	os level = 20
	lm announce = Auto
	lm interval = 60
	preferred master = No
	local master = Yes
	domain master = No
	browse list = Yes
	dns proxy = No
	wins proxy = No
	wins server = 
	wins support = No
	wins hook = 
	kernel oplocks = Yes
	ole locking compatibility = Yes
	oplock break wait time = 10
	smbrun = /usr/pkg/bin/smbrun
	config file = 
	auto services = 
	lock directory = /var/run/samba
	default service = 
	message command = 
	dfree command = 
	valid chars = 
	remote announce = 
	remote browse sync = 
	socket address = 0.0.0.0
	homedir map = 
	time offset = 0
	unix realname = No
	NIS homedir = No
	source environment = 
	panic action = 
	comment = 
	path = 
	revalidate = No
	username = 
	guest account = nobody
	invalid users = 
	valid users = 
	admin users = 
	read list = 
	write list = 
	force user = 
	force group = 
	writeable = No
	create mask = 0744
	force create mode = 00
	security mask = -1
	force security mode = -1
	directory mask = 0755
	force directory mode = 00
	directory security mask = -1
	force directory security mode = -1
	inherit permissions = No
	guest only = No
	guest ok = No
	only user = No
	hosts allow = 192.168.1. 127.
	hosts deny = 
	status = Yes
	max connections = 0
	min print space = 0
	strict sync = No
	sync always = No
	write cache size = 0
	printable = No
	postscript = No
	printing = bsd
	print command = lpr -r -P%p %s
	lpq command = lpq -P%p
	lprm command = lprm -P%p %j
	lppause command = 
	lpresume command = 
	queuepause command = 
	queueresume command = 
	printer = 
	printer driver = NULL
	printer driver location = 
	default case = lower
	case sensitive = No
	preserve case = Yes
	short preserve case = Yes
	mangle case = No
	mangling char = ~
	hide dot files = Yes
	delete veto files = No
	veto files = 
	hide files = 
	veto oplock files = 
	map system = No
	map hidden = No
	map archive = Yes
	mangled names = Yes
	mangled map = 
	browseable = Yes
	blocking locks = Yes
	fake oplocks = No
	locking = Yes
	oplocks = Yes
	level2 oplocks = No
	oplock contention limit = 2
	strict locking = No
	share modes = Yes
	copy = 
	include = 
	preexec = 
	preexec close = No
	postexec = 
	root preexec = 
	root preexec close = No
	root postexec = 
	available = Yes
	volume = 
	fstype = NTFS
	set directory = No
	wide links = Yes
	follow symlinks = Yes
	dont descend = 
	magic script = 
	magic output = 
	delete readonly = No
	dos filetimes = No
	dos filetime resolution = No
	fake directory create times = No

[homes]
	comment = Home Directories
	writeable = Yes
	browseable = No

[printers]
	comment = All Printers
	path = /usr/spool/samba
	printable = Yes
	browseable = No
	
	
	
...and here is what I have for /etc/nsswitch.conf...

group:		compat
group_compat:	nis
hosts:		files dns
netgroup:	files [notfound=return] nis
networks:	files
passwd:		compat
passwd_compat:	nis
shells:		files


...and here is what I have for /etc/hosts...

#
::1			localhost
127.0.0.1		localhost
# Per NetBSD Guide 9.3 - Creating a small home network
#
192.168.1.6 CompaqRPC BENT1 
192.168.1.7 ThinkPad STURNO1 
192.168.1.9 Solo STURNO2



Thanks,

Gan Starling
Kalamazoo MI USA

---

To paraphrase Hitler... 
"Who remembers the Amalekites?"