Samba's NMBD dumps core with FreeBSD 4.4-STABLE

Mario Doria madd at tecdigital.net
Fri Dec 21 13:47:02 GMT 2001


Hello,


I have installed samba 2.2.2 from the ports collection in FreeBSD. It dumps
core whenever someone tries to use the nmbd server. I can connect OK if I do
smbclient //10.25.165.3 -U user
but not by doing smbclient //server -U user


Here's the relevant part of the samba logfile:
[2001/12/21 14:23:20, 2] lib/interface.c:add_interface(85)
  added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
[2001/12/21 14:23:20, 2] lib/interface.c:interpret_interface(134)
  can't determine netmask for 10.25.165.3

It seems to have problems with my network card, so here's my ifconfig
output:
fxp0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
	ether 00:b0:d0:aa:82:cf
	media: Ethernet autoselect (none)
	status: no carrier
fxp1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
	inet 10.25.165.1 netmask 0xffffff00 broadcast 10.25.165.255
	inet 10.25.165.2 netmask 0xffffffff broadcast 10.25.165.2
	inet 10.25.165.3 netmask 0xffffffff broadcast 10.25.165.3
	ether 00:02:b3:1b:49:71
	media: Ethernet autoselect (100baseTX)
	status: active
xl0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
	options=3<rxcsum,txcsum>
	ether 00:01:02:ed:26:dc
	media: Ethernet autoselect (100baseTX)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
	inet 127.0.0.1 netmask 0xff000000




I think it's related to some changes in freebsd, because the smb.conf file
hasn't been changed. I tried recompiling samba with the latest freebsd
version, but still the error remains.

Here's my smb.conf:

[global]
	log level = 3
	hosts deny = any
	log file = /var/log/log.samba
	wins proxy = yes
	domain master = yes
	dns proxy = no
	preferred master = yes
	encrypt passwords = yes
workgroup = TEC-DIGITAL
	hosts allow = 10.25.165. 127.0.0.
	unix password sync = yes
	passwd program = /usr/bin/passwd %u
	socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
	netbios name = TEC-DIGITAL
	netbios aliases = SERVER TECDIGITAL
local master = yes
	load printers = no
	security = user
	veto oplock files = /*.fla/
	invalid users = bind admin named toor daemon operator bin games news man
uucp pop mysql default root
	os level = 50
	username map = /usr/local/etc/user.map
	wins support = yes

[homes]
	writeable = yes
	browseable = no
	comment = Tu Folder Personal
	delete readonly = yes
	dont descend = Maildir


The nmbd.core file is in http://www.tecdigital.net/madd/nmbd.core


Thanks


Mario Doria





More information about the samba mailing list