patti c.
2003-Jun-04 18:38 UTC
[Samba] "name_query failed to find name" when using broadcast address
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
Joel Hammer
2003-Jun-05 00:00 UTC
[Samba] "name_query failed to find name" when using broadcast address
I would walk through the DIAGNOSIS.txt trouble shooting guide. Try "locate DIAGNOSIS.txt" to find it. Joel Wed, Jun 04, 2003 at 02:38:16PM -0400, patti c. wrote:> 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 > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba
Gerald (Jerry) Carter
2003-Jun-06 14:38 UTC
[Samba] "name_query failed to find name" when using broadcast address
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 4 Jun 2003, patti c. wrote:> - 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"Is a firewall on the linux box enabled? You night also want to get a copy of ethereal (http://www.ethereal.com/) and look to see if any packets are being exchanged at all. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+4KdgIR7qMdg1EfYRArE9AKCxeCPhJidOObStjHb0tUtVZdC4mwCfSrCL Oo+YaSwvq5PSfLWrFF3eVQE=4gXV -----END PGP SIGNATURE-----