Tomasz Chmielewski
2005-Jan-17 12:56 UTC
[Samba] "smbclient -L host" to list IP addresses - possible?
Is it possible to get the list of IP addresses used by machines listed by smbclient -L host? This is the normal behaviour: $ smbclient -L pdc (...) Server Comment --------- ------- AC-PC0005 AC-PC001 AC-PC002 AC-PC003 AC-PC004 AC-PC005 AC-PC009 AC-PC010 AC-PC011 AC-PC012 PDC Samba 3.0.10 SERVER-ALSDORF Samba 3.0.10 I would like to know which machine has what IP address: $ smbclient -L pdc --list-ip-addresses (...) IP Server Comment ----- --------- ------- 192.168.1.5 AC-PC0005 192.168.1.6 AC-PC001 192.168.1.7 AC-PC002 192.168.1.8 AC-PC003 192.168.1.9 AC-PC004 etc. Is it possible? Tomek