Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nmblookup fails

Status
Not open for further replies.
Feb 27, 2008
131
US

I'm on a network with a mix of Windows and Linux machines. I have a server running Fedora Core 8. It is running BackupPC and can't find other machines on the network. The server needs to be able to run nmblookups successfully for every machine.

I have even added the machines to the server's hosts file. Pings are successful. Nmblookups fail.

I'm getting the impression that I need to do something with the smb.conf file, but am not sure what to do. DNS server is not set up. SELinux is disabled.

 
Add the following line to your smb.conf
Code:
wins server - <ip.of.wins.server>

Now, having said that, Windows networking and the IP networking are two different animals. IP networks use DNS for name to IP resolution. Windows networks use WINS. Windows also uses DNS and actually requires it if you need resources outide the windows environment.

nmblookup (Samba) and nbtstat (Windows) query the WINS server or master browser of your windows/samba network whereas true IP tools (ping, nslookup, dig, host) query the DNS server (and the hosts file).


I hope this helps. Have Fun!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top