Copied from Here:

Required installations:

Copied from here

Other ref here:

Installation:

Install cifs:

sudo apt-get install -y cifs-utils

Mount protected drive:

Create folder:

sudo mkdir -p /media/networkshare/public

Edit /etc/fstab:

sudo nano /etc/fstab

Insert the following line

//192.168.1.3/protectedshare /media/networkshare/public cifs username=msusername,password=mspassword,uid=1000,gid=1000,iocharset=utf8 0 0

Save and exit editor

Mount remote SMB-drive:

sudo mount -a