Mounting SMB1 shares after kernel 5.15

Nov 29, 2022

Linux kernel 5.15 dropped support for NTLMv1, a weaker authentication algorithm.

As a consequence, if you have old hardware that only supports SMB1 (such as Apple’s Airport Time Capsule), you may have trouble mounting them on recent distributions like Ubuntu 22.04.

Some workarounds are:

An easy path, however, is to enable guest mode on that hardware, if available. Then, just mount it on your client with something like this:

$ sudo mount -t cifs -o guest,vers=1.0 //SERVER/PATH /mnt/path

Sure, you lose the password “protection”, and you may be left with only one share. However, taking in account that the security for SMB1 and NTLMv1 is broken for a long time, that’s not much of a loss.

More information is available here.


Have comments? E-mail me.

All posts