[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SOLVED: OT: How to get IP address via Samba name?



Kent West wrote:

However, apparently the most recent smbclient in Sid no longer shows the IP address. How can I determine the IP address of "somePC" ("smbclient -L" still finds the PC; it just doesn't report the IP address anymore).

Todd Pytel wrote:

Did you try plain old "nmblookup PCname" ? That's the standard usage, no
options.


Kent West wrote:

westk[@westek]:/home/westk> nmblookup alum03
querying alum03 on xxx.yyy.zzz.255
name_query failed to find name alum03


I had to query the DNS server directly:
westk[@garciajo]:/home/westk> nmblookup -U <dns server address> -R "alum03"
querying alum03 on <dns server address>
xxx.yyy.zzz.3 alum03<00>

--
Kent




Reply to: