Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Dec 2001 15:43:37 -0600
From:      "Mario Doria" <madd@tecdigital.net>
To:        <stable@freebsd.org>
Cc:        <samba@samba.org>
Subject:   Samba's NMBD dumps core with FreeBSD 4.4-STABLE
Message-ID:  <001b01c18a68$a3924ab0$0a00a8c0@gandalf>

next in thread | raw e-mail | index | archive | help
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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001b01c18a68$a3924ab0$0a00a8c0>