If you try to mount samba share with out having cifs-utils package on your linux machine you'll come across this error.

root@san:/etc/openvpn# mount -t cifs //192.168.10.12/share -o username=user /media/
mount: block device //192.168.10.12/it is write-protected, mounting read-only
mount: cannot mount block device //192.168.10.12/it read-only

So simply install cifs-utils pakage and mount successfully.

root@san:/# apt-get install cifs-utils

for centOS

root@san:/# yum install cifs-utils

gil...