O utilitário da linha de comando smbutil
é o que você procura:
$ smbutil
usage: smbutil [-hv] subcommand [args]
where subcommands are:
help display help on specified subcommand
lookup resolve NetBIOS name to IP address
status resolve IP address or DNS name to NetBIOS names
view list resources on specified host
dfs list DFS referrals
identity identity of the user as known by the specified host
statshares list the attributes of mounted share(s)
Você pode procurar o endereço IP de uma máquina com smbutil lookup <name>
no Terminal:
$ smbutil lookup Example-Name
Got response from 192.168.1.110
IP address of Example-Name: 192.168.56.1
IP address of Example-Name: 192.168.1.110
Ou procure o nome da máquina com smbutil status <IP>
:
$ smbutil status 192.168.1.110
Using IP address of 192.168.1.110: 192.168.1.110
Workgroup: WORKGROUP
Server: EXAMPLE-NAME
(Crédito para 11rcombs por me contar sobre isso.)