Hi all,
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.
We're tried a number ways of executing the command, but haven't yet found anything that brings us back a complete listing.
nmblookup -M -- -
nmblookup '*'
etc
Does anyone know what we could be doing wrong, or know of a better way to query for SMB volumes available on local subnets?
Many thanks
Paul