mount: block device //file.share/marketing is write-protected, mounting read-only
mount: cannot mount block device //file.share/marketing read-only
despite the same exact mount working for two other shares via /etc/fstab:
//file.share/agent /mnt/pr-file cifs rw,user=agent,pass=PASSWORD1 0 0
//file.share/agent /mnt/hin-file cifs rw,user=agent,pass=PASSWORD1 0 0
//file.share/marketing /mnt/marketing cifs rw,user=marketing,pass=PASSWORD2 0 0
So why the first two worked but the other doesn't is beyond me. After a quick google, I realized I may need to install smbfs(this is a new server build). Not sure why I needed the smbfs, since I changed the FS type to CIFS, but now I am at this erro:
mount -a
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
Going to lunch, will fix this when I get back.
OK, I should have figured this out immediately. If 2/3 work with virtually same syntax but differing credentials, could it be the creds.? It most certainly was, the password was wrong. mount.CIFS sure has a funny way of telling me my password was wrong.