Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I know there's smbutil lookup command, but I would like to know how to get it in the system lookup, similar to what is possible on Linux by modifying /etc/nsswitch.conf

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

I ended up using avahi/mDNS/bonjour and just added .local

share|improve this answer
    
Could you perhaps explain in more detail? I wanted something really simple and just clicks away to make everything work, if it's possible. Adding ".local" simply doesn't work. –  Cawas Jan 9 '12 at 20:28
2  
All the windows computers on my network have iTunes installed, and the linux computers have avahi-daemon. They both support mDNS with little or no setup, allowing host resolution with the Mac (as well as iPhone, etc.) via mDNS. The mDNS name is typically just the hostname.local I rang Apple support and this was the best they could get for me, I don't think Mac OS X 10.7 in general supports NetBios name resolution (or at least not without a WINS server), only some applications like Finder do for finding computers on the network. –  Adam M-W Jan 10 '12 at 3:38
    
Thanks!! You should have edited your answer with this awesome info, rather than commenting! This really did help me. :) –  Cawas Jan 10 '12 at 12:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.