[Samba] how to check IP addresses of machines in the network?

Daniel Wilson daniel.wilson at sunderland.ac.uk
Tue Jan 18 10:55:26 GMT 2005


try the tool that comes with samba (findsmb)?!

Tomasz Chmielewski wrote:

> Hello,
>
> This post is similar to what I posted yesterday '"smbclient -L host" 
> to list IP addresses - possible?'.
>
> I have a PDC in one place and many workstations in different other 
> places connected using WAN/VPN.
>
> These workstations have rather changing IPs assigned by DHCP.
>
> Sometimes I need to connect to these machines using VNC, for example, 
> connect to machine AC-PC001 to show something to the user or fix 
> something when a user is not there.
>
> However, smbclient -L pdc gives me only netbios names, and not IP 
> addresses:
>
> $ smbclient -L pdc
> (...)
>         Server               Comment
>         ---------            -------
>         AC-PC001
>         AC-PC002
>
> How can I list workstations with their netbios names and corresponding 
> IP addresses?
>
>
> Tomek


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Daniel Wilson
Systems Administrator

IT & Communications Service
University of Sunderland
Unit1 Technology Park
Chester Road
Sunderland
SR2 7PT

Tel: 0191 515 2695

This e-mail contains information which is confidential and may be privileged and is for the exclusive use of the recipient. 
It is the responsibility of the recipient to ensure that this message and its attachments are virus free. 
Any views or opinions presented are solely those of the author and do not necessarily represent those of the University, unless otherwise specifically
stated.





More information about the samba mailing list