Quote:
Originally Posted by shruggy
smbclient -L, perhaps? But it requires the server name to be specified.
|
Indeed, and from the server itself you can use localhost, host name or IP address i.e
smbclient -L localhost
Depending on distribution smbclient is a separate package and may not be installed by default.
If you press enter without entering a password you will see all the browseable shares and printers. Otherwise to see private shares like your home you need to enter a valid samba username and password.
As a standalone server the "things" you need to know to connect are samba user, samba password, net bios server name if different from hostname or IP address and share name.
knowing what is a public or a guest share that does not require a username password depends on how samba is configured. Depends on a few share and global directives.