Step 1: Share the folder (which your want to mount on ubuntu) on windows machine
Step 2: create a folder which will be your mount point /mnt/data
sudo mkdir /mnt/data
Step 3: Check available shared resources/ sharename
smbclient -L //<ip-address> -U <windows-username>
Step 4: Mount
sudo mount -t cifs -o username=<username> //<ip-address>/<sharename> /mnt/data/
Errors and Solutions
Error:
cannot mount ....... read-only
Solution
apt-get upgrade cifs-utils
Error:
wrong fs type, bad option, bad superblock
Solution
apt-get upgrade cifs-utils