# mount /mnt/mymount mount: wrong fs type, bad option, bad superblock on \\windowsbox\shared, missing codepage or helper program, or other error (for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.helper program) In some cases useful info is found in syslog - try dmesg | tail or so
From system logs:
# dmesg|tail [8628151.305806] CIFS VFS: No username specified [8628151.306141] CIFS VFS: cifs_mount failed w/return code = -22
Solution
This was related to smbs not being installed:# apt-get install cifs-utils # which mount.cifs
Ditto!
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteFor centos, install cifs-utils
ReplyDelete# yum install cifs-utils
Thanks!
ReplyDelete+1
ReplyDeleteThanks
ReplyDeleteFor Debian 7
apt-get install cifs-utils
On a new install of Ubuntu 14.04 I had to open Synaptic and reinstall cifs-utils (even though it claimed to be installed) before this would work.
ReplyDeletesmbfs doesn’t seem to be in the repositories any more.
@caoin Thanks I have updated the post to reflect the change. You are correct.
ReplyDeleteAfter ripping my hair off because of this...thanks!! I was feeling like a total idiot, lol.
ReplyDeleteSaved me so much time. Thanks!
ReplyDeleteyou saved my life!
ReplyDeleteThis helped me thanks a lot
ReplyDelete@Ahmed My pleasure.
ReplyDelete