[Samba] Problems getting list of shares
Steve Gehrman
sgehrman at cocoatech.com
Fri Sep 12 18:29:25 GMT 2008
I'm trying to do something that should be simple, but my current
solution isn't working 100%
All I need is a list of smb shares on the network.
I'm doing this:
/usr/bin/nmblookup -M -- -
and then use this on each ip returned:
/usr/bin/smbclient -g -p 139 -NL <ip addr>
That works for most cases but it fails to find all the shares
(compared to the mac Finder)
-steve
More information about the samba
mailing list