Mount cif share as user

On Ubuntu you need the cifs-utils

apt-get install cifs-utils

Add the share to the /etc/fstab

//10.10.100.10/blob /mount/share cifs username=john,domain=contoso,noauto,rw,users 0 0

set the correct rights for the local user to the mount share.

sudo mkdir /mount/share
sudo chown -R john:john contoso
sudo chmod -R 774 contoso

Mount the share with mount.cifs

mount.cifs  //10.10.100.10/blob /mount/share 

Don“t use mount -t cifs

read more here

https://www.strika.co/ubuntu-14-04-how-to-properly-mount-a-cifs-share-as-a-normal-user/