| NETBIOS Node Status Query Returns First Instance of Unique NameID: Q154608 
 | 
When a gethostbyaddr() uses a NETBIOS Node Status Query to return the Machine Name of a device, it will return the first instance of the machine name that is registered as Unique [00h]. The order of the Unique <00> name registered can be viewed by running NBTSTAT -N at a command prompt.
Some services, other than the Workstation, that Register as Unique with the
[00h] entry, will show up in the NETBIOS Node Status Query response as well
as the Machine Name. These names can be returned by a gethostbyaddr() and
can incorrectly identify the computer if they are listed first in the
response above the Workstation Name entry.
Node IpAddress: [130.0.7.1] Scope Id: []
            NetBIOS Local Name Table
   Name               Type              Status
--------------------------------------------------
IS~FARMER             <00>  UNIQUE      Registered
FARMER                <00>  UNIQUE      Registered
USA                   <00>  GROUP       Registered
FARMER                <03>  UNIQUE      Registered
FARMER                <20>  UNIQUE      Registered
FARMER+++++++++       <BE>  UNIQUE      Registered
INet~Services         <1C>  GROUP       Registered
TESTER                <03>  UNIQUE      Registered Stop and restart the service or services whose names are Registered as Unique [00h] above the Workstation Service entry in the NetBIOS Local Name Table.
Additional query words: prodnt
Keywords          : kbnetwork nttcp 
Version           : 3.5 3.51 4.0
Platform          : winnt 
Issue type        : Last Reviewed: February 25, 1999