Get all network shares from a server

Get all network shares from a server

If the IP address of a network server is known, but not its available network shares, the command smbclient could be used with the -L and the -U option like this to show all available share names:

smbclient -L server -U domain/user

where `server` is either the name or the IP of the server of interest and the domain/user is the username and its corresponding domain that should be used for mounting the share later.

Leave a Reply

%d bloggers like this: