[Samba] Problems getting list of shares
Jon Wilson
jon at wharfs.net
Fri Sep 12 18:44:10 GMT 2008
smbtree may do what you are looking for.
Jon
2008/9/12 Steve Gehrman <sgehrman at cocoatech.com>:
> 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
>
More information about the samba
mailing list