I was trying to mount a CIFS / SAMBA share on Debian GNU/Linux 7 (wheezy).
I wasn’t being prompted for a password, I would simply get:
mount -t cifs -o user=admin //10.1.1.10/BLAH remote/
mount: block device //10.1.1.10/BLAH is write-protected, mounting read-only
mount: cannot mount block device //10.1.1.10/BLAH read-only
I needed to install “cifs-utils”
apt-get install cifs-utils