Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-08-2003, 12:03 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Unhappy Samba Prob: nmblookup failure


I am a Linux newbie and I am troubleshooting my Samba set up. I have 2 Win2k machines and 1 Linux box all connected via 4 port router with DHCP. I am debugging my setup using a troubleshooting doc found at I have been going through this doc one step at a time and I am definately making progress. Samba is running. Users are added. Connectivity has been confirmed using "smbclient". However, Step 3 of this troubleshooting guide attacks Name Resolution. Thats where I hit a snag.

Using "nmblookup -B manning2" gives me the following error:

querying manning2 on
name_query failed to find name manning2

manning2 is the Linux box in question running Samba is the Broadcast address for this network interface (verified thru ifconfig).

Using "nslookup manning2" gives me the following error:


** server can't find manning2: NXDOMAIN

-The /etc/hosts file has a loopback entry with "manning2" listed.
-Running "hostname" returns "manning2".
-I can "ping manning2" and it returns, the ip assigned by my router.

I am not sure what I need to do from here. Anyhelp would be appreciated.

Old 06-09-2003, 11:05 AM   #2
LQ Newbie
Registered: May 2003
Posts: 23

Rep: Reputation: 15
Check your smb.conf file for the line:

netbios name = Manning2

which should be just under your Workgroup name.

I hit the same snag a few days ago. I had lots of other problems, but this entry was the last one I fixed that got it all running for me. I didn't have to have this entry in my RH 7.0 machine, so trying to recycle my smb.conf wasn't as smooth as I thought it would be.

Hope this eliminates at least one variable!
Old 06-09-2003, 08:17 PM   #3
LQ Newbie
Registered: Jun 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Already had the smb.conf entry. Thx, Spotnik

Turns out, it was my firewall settings.

It fixed my nmblookup problem and my Samba problems.

This was a good one. It took me awhile to figure it out. Hope this post helps others.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora 4: Samba running but nmblookup doesn't work and can't see in windows lsgko Linux - Networking 3 09-15-2005 12:10 AM
samba prob HmmLinux Linux - Networking 1 03-05-2004 01:54 AM
prob with samba shares in konqueror paonethestar Programming 1 11-01-2003 04:39 AM
Samba - nmblookup will_k Linux - Networking 3 08-25-2003 02:48 AM
Samba problem, nmblookup not finding W2K box dwynter Linux - Networking 5 06-24-2003 03:44 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration