Accessing SMB shares from your Ubuntu workstation
If you've built a Windows file server that uses the SMB protocol, this article describes how to access the Windows share from an Ubuntu workstation. I used an Ubuntu 14.04 LTS workstation, accessing Windows Server 2012 shares.
You'll need to start by installing CIFS.
sudo apt-get install cifs-utils
Create a hidden password credential file.
Add the following lines...
Create Mount Directories
Create the directories that you'd like to mount to...
sudo mkdir /media/HomeSteven
sudo mkdir /media/CompanyShare
Add the following line to the /ect/fstab file.
//serverName/CompanyShareName /media/CompanyShare cifs credentials=/home/steven/.smbcredentials,iocharset=utf8,sec=ntlm,domain=YourDomain 0 0
Repeat for the Home Directory.
Mount the share
You can mount the share by running the following...
sudo mount -a
Thanks for visiting.