title: NMBLookup OS X returning inconsistant results
body: <p>We're trying to get SMB volume listings in our OS X application, and have been using NMBLookup, as suggested by Apple, to get listings. However, more often than not, we're not able to get a full listing of available SMB volumes using the tool. We've got a good benchmark in that we can see the full listing the Apple Finder gets, and the majority of the time, our listing is not matching up, usually missing servers.</p>
  
  <p>We're tried a number ways of executing the command, but haven't yet found anything that brings us back a complete listing.</p>
  
  <p>nmblookup -M -- -</p>
  
  <p>nmblookup '*'</p>
  
  <p>etc</p>
  
  <p>Does anyone know what we could be doing wrong, or know of a better way to query for SMB volumes available on local subnets?</p>