nmblookup and WINS

Baldur Norddahl bbn at dark.x.dtu.dk
Tue Sep 16 12:40:34 GMT 1997


We are many that have wondered how to make nmblookup work with WINS. Now I
finally found out by using smbdump on a NT client and on nmblookup. The
difference turned out to be that NT asks for a #20 name, while nmblookup
asks for #00.

The #00 request gets completly ignored by the NT WINS server, unless you
are asking for its own name.

The following works:

[root at ormen source]# ./nmblookup odin#20 -B danbo.ostenfeld.dtu.dk
Added interface ip=192.38.215.240 bcast=192.38.216.1 nmask=0.0.0.0
Sending queries to 192.38.216.1
192.38.220.3 odin

ormen, danbo and odin are on three different broadcast isolated subnets.

Baldur



More information about the samba mailing list