You are not logged in.
Hi,
I upgrade to kernel 4.13.3-1. I Have a line in my /etc/fstab:
//server.chem.gla.ac.uk/server /run/media/djipey/scapa4 cifs username=user,password=super_password,iocharset=utf8,sec=ntlm,x-systemd.automount 0 5
When I run "sudo mount -a", I get:
mount error(112): Host is down
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Downgrading to kernel 4.12.13-1 fixes the problem. Any idea why this is happening ?
Cheers
Last edited by djipey (2017-09-28 16:02:47)
Offline
CIFS has switched the default version of the SMB protocol to a newer standard in 4.13 try adding e.g. vers=2.1 to your mount options (or vers=2.0, vers=1.0 ) if vers=1.0 is the only one that works, flame the maintainers of that server that they should update.
Btw, something I just noticed because I started to use a CIFS share myself, if you check your dmesg after the connection attempt, the kernel will issue a info to inform of this:
No dialect specified on mount. Default has changed to a more secure dialect, SMB3 (vers=3.0), from CIFS (SMB1). To use the less secure SMB1 dialect to access old servers which do not support SMB3 specify vers=1.0 on mount. For somewhat newer servers such as Windows 7 try vers=2.1.
Last edited by V1del (2017-10-03 12:20:04)
Offline
Ah, I had tried 2.0 and 3.0.
Indeed, 1.0 works. How bad is it if the server still uses 1.0 ? It's a "company" server, I don't have control over it but can ask for an upgrade.
Offline
Offline
Done. Thank you for the explanation.
Offline
To me, the solution was to remove sec=ntlm. I don't know if this could be helpfull to someone
Offline
I had a similar issue, but it gave
mount error(13): Permission denied
Adding "vers=1.0" worked.
Offline