Where is nmblookup in Lion?
I'm trying to call nmblookup in a Terminal on Lion, but it's not available. How can I lookup NMB hostnames from the Terminal now?
On OS X 10.7 (Lion):
smbutil lookup <hostname>
Example:
$ smbutil lookup NAS1
Got response from 10.21.0.133
IP address of NAS1: 10.21.0.133
Samba is no more part of OS X: Lion has an own implementation of the protocol. It was dropped because Samba moved to a stricter license (GPLv3) which gives Apple problems with the publication of the software on the App Store.
Edit
Here you can find some more information: http://www.appleinsider.com/articles/11/03/23/inside_mac_os_x_10_7_lion_server_apple_replaces_samba_for_windows_networking_services.html
nmblookup
was removed along many other command line tools:
[...]reducing the number of commands and subcommands from over a hundred to just 19[...]
Thanks to cksum for the hint
As Ingmar answers you can use smbutil lookup