[Samba] can't resolve NETBios names

Wells Bacon wells at wbacon.com
Fri Feb 22 15:16:19 GMT 2008

My LAN has a single linux/samba server as a PDC/file server, and several
windows workstations. The workstations get their IP addresses from a Linksys
cable router DHCP server.

I can't get the linux machine to resolve the NETBios names of the windows

>From the Linux machine I can see the Internet through the DSL router, I can
ping the windows machines by IP address, but "ping NETBiosname" returns
"Unknown host NETBiosname", and "nmblookup NETBiosname" returns "name_query
failed to find name NETBiosname"

The windows machies have added as a WINS server in their LAN
configuration, otherwise they are just straight DHCP clients, and they can
see the Linux machine as well as each other by name.

The PDC is running Suse 10, and Samba 3.

Linux network config:

Netgear RTL-8169 Gigabit Ethernet Card
static IP:
hostname: Wizard
domain: BDCO
Name Server 1:
Name Server 2:
Default Gateway: (Linksys router)


# Wizard
	add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody -s
/bin/false %m$
	admin users = @root
	browseable = Yes
	domain logons = Yes
	domain master = Yes
	encrypt passwords = Yes
	guest ok = no
	local master = Yes
	logon drive = C:
	logon path = \\%L\profiles\%U
	logon script = bdconet.cmd
	map to guest = Bad User
	max protocol = NT
	name resolve order = wins bcast lmhosts host
	netbios name = WIZARD
	os level = 65
	passdb backend = tdbsam
	passwd program = /usr/bin/passwd %u
	preferred master = Yes
	restrict anonymous = no
	security = user
	server signing = Auto
	smb passwd file = /etc/samba/smbpasswd
	unix password sync = yes
	username map = /etc/samba/smbusers
	wins support = yes
	workgroup = BDCO

	path = /var/lib/samba/netlogon
	write list = @root
	browseable = no
	comment = Network Logon Service

	comment = Network Profiles Service
	path = /var/lib/samba/profiles
	read only = No
	store dos attributes = Yes
	create mask = 0600
	directory mask = 0700
	browseable = no

[other shares]...

More information about the samba mailing list