Installation
apt-get
1. Install samba client
sudo apt-get updatesudo apt-get install smbclient2. verify samba client was installed
which smbclient
Configuration
Click here to expand...
ALLOW USER
1. In the smb.conf add this to the very end of the file:
[<folder_name>]path = /path/to/shared/directoryvalid users = <user_name>read only = no2. restart smbd server
sudo service smbd restart3. check smbd.conf for syntax errors
testparm
Commands
Click here to expand...
1. list all shares from server
smbclient -L //<HOST_IP_OR_NAME>/<folder_name> -U <user>2. connect to
smbclient //<HOST_IP_OR_NAME>/<folder_name> -U <user>