Mounting CIFS min version=3.0
-
This isn't a Mango issue directly, but I am trying to achieve the following:
Mount a windows share via cifs-utils, which has set a minimum SMB version of 3.0. This share is from our new backups host.
Now, normally, our Ubuntu 16.04 Mango install has no problem mounting with the following fstab line:
any//server/mount /mnt/mount cifs credentials=/folder/credentialsfile,vers=3.0,sec=ntlm 0 0
However, when this same line is used on the mangoES I get the following error in syslog:
kernel: [2161470.957208] CIFS VFS: Unknown vers= option specified: 3.0
We're running on:
Debian Jessie 8.10
cifs-utils 2:6.4-1 (appears to me to be the latest for this branch, link)According to this page, vers should be supported, but seems not for the ARM version.
I'm looking for some recommendations on the following points:
-
Upgrade MangoES to Debian 9, and hope the latest cifs-utils can accomodate the vers option. I was not able to determine if the latest version of cifs-utils on armhf has option vers. Also, are there any foreseeable issues if upgrading to Stretch?
-
Downgrade minimum SMB version to 1.0, which I'd prefer not to, given its terrible security.
-
Any other possibilities?
-
-
I can confirm that upgrading to Debian Stretch 9.3 still will not support vers option =(
-
Hi Mihai,
I don't have any experience with mounting a CIFS, so this may be useless, but,
Have you tried using mount.cifs directly to mount the filesystem? 2:6.4-1 definitely suggests there is a vers=3.0 option that exists and should work. I wonder if it could be an intricacy of fstab getting in the way.
-
I just set the lowest SMB version to 1, since there were other places where it was causing problems. Thanks Phil