Troubles placing an SMB share in my fstab

I have a legitimate, obtainable SMB share on my Windows box, which I can mount with

sudo mount -t cifs //192.168.0.9/C /mnt/WinC -o username=foo,password=bar

yet isn't mountable from my fstab. The fstab access reviews

//192.168.0.9    /mnt/WinC    credentials=/root/.smbcredentials,iocharset=utf8,file_mode=0777,dir_mode=0777    0    0

and also the qualifications documents (which has 777 approvals while I get this functioning) has

username=foo
password=bar

yet sudo mount -a cause a mistake, which from a dmesg|tail, reveals

[225040.991705]  CIFS VFS: No username specified
[225050.991721]  CIFS VFS: cifs_mount failed w/return code = -22

Any person else seen this concern and also took care of to settle it?

0
2019-05-04 06:59:51
Source Share
Answers: 1

Install smbfs.

Appears silly that a plan can repair this yet when you make use of qualifications documents, the bit draws away to the mount.cifs command as opposed to doing the mount itself. This plan gives mount.cifs so needs to get you when traveling to triumph!

Modify : As Klaus mentions in the remarks, for 13.04 and also later on, you require cifs-utils.

0
2019-05-07 22:29:35
Source