Trying to mount a cifs share from the command line fails when attempting the following:

mount -t cifs /// will result in a “wrong fs type, bad option, bad superblock on ///…etc” and “CIFS VFS: cifs_mount failed w/return code = -22″ is found in the dmesg output.

mount -t cifs /// will result in “cannot mount block device read-only”.

To fix this, run the following and try to mount the share again:

on Fedora type: sudo yum install cifs-utils

on Ubuntu type: sudo apt-get install smbfs

Note: I tested this on Fedora 13 and Ubuntu 10.04