LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 06-08-2003, 11:03 AM   #1
paulmann
LQ Newbie
 
Registered: Jun 2003
Posts: 2

Rep: Reputation: 0
Unhappy Samba Prob: nmblookup failure


All,

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 http://au1.samba.org/samba/ftp/docs/Samba24Hc13.pdf 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 192.168.0.255 manning2" gives me the following error:

querying manning2 on 192.168.0.255
name_query failed to find name manning2

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

Using "nslookup manning2" gives me the following error:

Server: 192.168.0.1
Address: 192.168.0.1#53

** 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 192.168.0.3, the ip assigned by my router.

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

-Paul
 
Old 06-09-2003, 10:05 AM   #2
Spotnik
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, 07:17 PM   #3
paulmann
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.

-Paul
 
  


Reply


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-14-2005 11:10 PM
samba prob HmmLinux Linux - Networking 1 03-05-2004 12:54 AM
prob with samba shares in konqueror paonethestar Programming 1 11-01-2003 03:39 AM
Samba - nmblookup will_k Linux - Networking 3 08-25-2003 01:48 AM
Samba problem, nmblookup not finding W2K box dwynter Linux - Networking 5 06-24-2003 02:44 PM


All times are GMT -5. The time now is 04:42 AM.

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