[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
possible:

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

My smb.conf:
************************************************************************
*
[global]
	log file = /var/log/samba/log.%m
	socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192
SO_RCVBUF=8192
	preserve case = no
	domain master = yes
	hosts allow = 127.0.0.1 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

[homes]
comment = Fizzle Samba Home Directories
read only = no
browseable = no

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

[public]
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 10.0.1.255 as the broadcast address, mask as
255.255.255.0
- ipconfig on XP shows NodeType = broadcast, subnet mask as
255.255.255.0
- "smbclient -L fizzle" is able to list shares, as well as connect to a
share while on the Linux server
- "nmblookup -U 127.0.0.1 __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 10.0.1.255 fizzlebox"
returns "name_query failed to find name fizzlebox"; same happens when
querying with "studio"
- "nbtstat -A 10.0.1.201" 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:
************************************************************************
***
10.0.0.201	fizzlebox   #PRE #DOM:DOMAIN-NAME
10.0.0.201	"FIZZLE         \0x1b"   #PRE
************************************************************************
***

Can anyone help? 

Thanks in advance!
Patti




More information about the samba mailing list