[Samba] "name_query failed to find name" when using broadcast address

patti c. pc at jhu.edu
Wed Jun 4 18:38:16 GMT 2003

Hi everyone,

I'm trying to set up a Windows XP Pro client to connect to a Samba
server (version 2.2.8) on a Redhat 8.0 linux box, but have been having
trouble for the past 3 days. I have gone through Troubleshooting Samba
at [http://us1.samba.org/samba/ftp/docs/Samba24Hc13.pdf] but I can't
figure out how to fix the problem. I suspect that the broadcast address
may not be the same on both boxes, but how do I set that in Windows XP?
The problem may be something else, so I'll try to be as specific as

The server ip is, named fizzlebox
The windows ip is, named studio

My smb.conf:
	log file = /var/log/samba/log.%m
	preserve case = no
	domain master = yes
	hosts allow = 10.0.1. studio
	encrypt passwords = yes
	wins support = true
	netbios name = FIZZLEBOX
	server string = Samba PDC running %v
	workgroup = FIZZLE
	os level = 75
	security = user
	max log size = 50
	domain logons = yes
	log level = 3
	logon script = netlogon.bat

comment = Fizzle Samba Home Directories
read only = no
browseable = no

path = /home/netlogon
read only = yes
write list = patti

path = /home/fizzle
valid users = patti user root
read only = no
browseable = yes

- Both XP and Linux are able to ping each other by ip and hostname
- ifconfig on Linux shows as the broadcast address, mask as
- ipconfig on XP shows NodeType = broadcast, subnet mask as
- "smbclient -L fizzle" is able to list shares, as well as connect to a
share while on the Linux server
- "nmblookup -U __SAMBA__" works fine, as does the same
command with FIZZLEBOX
- "nbtstat -n" on XP lists both STUDIO and FIZZLE

- This is where it goes wrong: "nmblookup -B fizzlebox"
returns "name_query failed to find name fizzlebox"; same happens when
querying with "studio"
- "nbtstat -A" on XP returns "Host not found"

Also on the Linux box:
- All users and machines have been added, passworded, and smbpassworded
- Read, write, execute permissions have been set on all relevant folders

On the Windows box:

- When trying to connect through My Computer -> Properties -> Computer
Name -> change Domain to FIZZLE , I get "A domain controller for the
domain FIZZLE could not be contacted"
- Internet Connection Firewall is disabled
- Applied WinXP_SignOrSeal.reg from samba.org
- Local Security Settings: most Domain member settings are disabled
- NetBIOS over TCP/IP is enabled
- lmhosts file:
***	fizzlebox   #PRE #DOM:DOMAIN-NAME	"FIZZLE         \0x1b"   #PRE

Can anyone help? 

Thanks in advance!

More information about the samba mailing list