[Samba] netbios name

Herb Lewis herb at sgi.com
Wed May 22 09:57:02 GMT 2002


Zulisser Zurita wrote:
> 
> Hello.
> 
> sorry for my ingles
> 
> i use nmblookup
>       nmblookup -B 172.16.7.255 -d 2 '*'
> 
> but thas send me
> 
> added interface ip=172.16.4.14 bcast=172.16.7.255 nmask=255.255.252.0
> querying * on 172.16.7.255
> Got a positive name query response from 172.16.4.14 ( 172.16.4.14 )
> Got a positive name query response from 172.16.4.14 ( 172.16.4.14 )
> Got a positive name query response from 172.16.5.248 ( 172.16.5.248 )
> Got a positive name query response from 172.16.5.169 ( 172.16.5.169 )
> Got a positive name query response from 172.16.6.18 ( 172.16.6.18 )
> Got a positive name query response from 172.16.5.232 ( 172.16.5.232 )
> 
> i ned the name of the machine, how i get thast
> 
> please held me
> 
> thanks
> 
> whitch
> 

Look at the findsmb perl script. Basically what you need to do is
run the command you did above and then for each IP address returned
you run the command 

nmblookup -A <IP address>

To list the names registered by the server.
-- 
======================================================================
Herb Lewis                               Silicon Graphics 
Networking Engineer                      1600 Amphitheatre Pkwy MS-510
Strategic Software Organization          Mountain View, CA  94043-1351
herb at sgi.com                             Tel: 650-933-2177
http://www.sgi.com                       Fax: 650-932-2177          
======================================================================




More information about the samba mailing list