[Samba] nmblookup comand

Joel Hammer Joel at HammersHome.com
Wed Apr 2 00:41:18 GMT 2003

There are differences in how nmbd and smbclient look up other computers.
For example, look in your smb.conf. Here is what I have in mind:

	name resolve order =  wins bcast hosts lmhosts

hosts is the DNS server and lmhosts is the lmhost file on your linux box.

So, smbclient will try all of these before it gives up. I am very vague on
the details, but perhaps nmbd is failing because there is no nmbd daemon
running on the target machine? nmbd does not consult all these other
resources for finding a host, methinks.

Your nmbd fails after making one query. smbclient will try all the above
resources before giving up. It might be nice to compare a debug output
with smbclient, and see how smbclient finds the other host.

> querying pc8686 on
> Sending a packet of len 50 to ( on port 137
> Sending a packet of len 50 to ( on port 137
> Sending a packet of len 50 to ( on port 137
> name_query failed to find name pc8686


On Tue, Apr 01, 2003 at 05:38:48PM +0200, Setzensack Stefan wrote:
> Dear Ladies and Gentlemens,
> i have a problem, the nmblookup command have an error, but the smbclient
> command have no error.
> See example.
> Can you please help me.

More information about the samba mailing list