Ubuntu – Can’t acces NAS anymore after upgrading to 20.04

20.04mountnautilussamba

Today I did a clean install of the new Ubuntu 20.04 Focal Fossa. Since then I can no longer mount folders on my NAS, which was possible on 18.04 and on Windows.

It's exactly the same issue as this one:
Ubuntu 20.04 Focal Fossa (development branch) Nautilus can't mount a NAS
That issue got closed for being off-topic because 20.04 was not a stable release back then. It is now, so I guess it is on-topic now?

The German message posted in that Question is Failed to mount Windows share: Software caused connection abort in the English version.

Things I tried so far:

  • downgrading samba
  • adding client min protocol = CORE to /etc/samba/smb.conf
  • adding client min protocol = SMB3 and client max protocol = SMB3 to /etc/samba/smb.conf

None of these seemed to fix the issue.

Best Answer

Same issue here.

Since version 4, both Samba Server & Samba Clients do not allow an older level of protocols negotiation. You have to enable them in smb.conf file

Edit /etc/samba/smb.conf file (need root permissions)

in the [global] section, add the following line

client min protocol = NT1

Save the file and exit the editor.

You must restart the Samba Service for this change to take effect. In a terminal, enter this command:

sudo service smbd restart

You should be able to access your samba shares successfully. If you cannot connect to your samba share, you can lower even more the protocol security in smb.conf (not recommended), by using:

client min protocol = CORE

Cheers!

Related Question