nmblookup / samba on w32

Darrin M. Gorski dgorski at ford.com
Mon Dec 15 19:53:57 GMT 1997


I don't see how this is very useful, it doesn't give the IP address, as
one might hope. It would be nicer to have a gethostbycomputername() call:

C:\WINDOWS\Desktop>nbtstat -a bacchus


       NetBIOS Remote Machine Name Table

   Name               Type         Status
---------------------------------------------
BACCHUS        <00>  UNIQUE      Registered
SRL            <00>  GROUP       Registered
SRL            <1C>  GROUP       Registered
BACCHUS        <20>  UNIQUE      Registered
SRL            <1B>  UNIQUE      Registered
SRL            <1E>  GROUP       Registered
BACCHUS        <03>  UNIQUE      Registered
SRL            <1D>  UNIQUE      Registered
..__MSBROWSE__.<01>  GROUP       Registered

MAC Address = 00-00-24-24-E1-EB


'nbtstat -A' is slightly more useful, but is not exactly a
getcomputernamebyaddr() call, which would really be cool, and is (I
believe) what people are REALLY looking for.

On Tue, 16 Dec 1997, Jeff Foster  wrote:

> You can the the nbtstat program to do what you want.  If you have the IP
> address use this command -
> 
> 	nbtstat -A IPAddress
> 	
> If you have a machine name -
> 
> 	nbtstat -a MachineName
> 	
> This queries the machine in question, so it will fail it the machine is not
> on the network.
> 
> Jeff Foster

                                [Darrin]

 "I have no special gift. I am only passionately curious."
				- A. Einstein

Darrin M. Gorski, Research Computer Systems Network Support
Scientific Research Laboratories, Ford Motor Company
Internet: dgorski at ford.com | Tel/Fax: +1 (313) 248-3753



More information about the samba mailing list