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):
Example:
|
|||
|
|
If you must have nmblookup you may install samba3 via MacPorts and probably brew, I don't use brew so I'm not completely sure. |
||||
|
|
|
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
Thanks to cksum for the hint As Ingmar answers you can use |
|||||||||
|
|
The
There is also the The alternative to Note that I am running Snow Leopard 10.6.8. |
|||||
|
|
run the following command:
It should output the following:
This is on 10.6.8 |
|||||||
|
cdto the root directory, and type the following command:find . -name "<name>" -print– Bill Sep 14 '11 at 2:50nslookup. – Bill Sep 14 '11 at 5:52nslookup. I believe that this should be included with Lion as it is a standard utility across most platforms. – Bill Sep 14 '11 at 6:43