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
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to