Ubuntu Clients
sudo apt-get install samba
sudo apt-get install nautilus-share
Connecting using CIFS
The following will mount the myshare folder on myserver to ~/mnt (it will be in your home directory):
mkdir ~/mnt sudo mount -t cifs //myserver_ip_address/myshare ~/mnt -o username=samb_user,noexec
Note: "samba_user" = the user name on the samba server (may be different from your log-in name on the client).
教學擷取於 UBUNTU https://help.ubuntu.com/community/Samba/SambaClientGuide