CIFS ver 1.0 mounting broke after update

cifsfstabmountsamba

I'm using Ubuntu 20.04.3 LTS as Plex server, mounting NAS shares on a Netgear ReadyNAS Ultra 6 running RAIDiator 4.2.31 using CIFS ver 1.0 (highest that my NAS will support). Had to run "sudo mount -a" after every reboot to mount the shares, which WAS working fine until I installed all updates tonight. Now I get "mount error (111): could not connect to 192.168.1.50 unable to find suitable address". I know that CIFS 1.0 is very old and unsecure, but can someone please tell me what and how to undo or fix, and most importantly how to prevent future breaks?

The mount lines in my fstab are: //192.168.1.50/movies /mnt/movies cifs credentials=/etc/nascred,vers=1.0 0 0

I've tried changing the vers= to 1.1, 1.2 & 2.0 with no luck.

Best Answer

SMB1 has been disabled for security reasons. Let's re-enable SMB1 for your NAS requirements.

Edit /etc/samba/smb.conf...

Locate the section that starts with:

#### Networking ####

Add the following to re-enable SMB1:

# allow SMB1
client min protocol = NT1
server min protocol = NT1
name resolve order = bcast host lmhosts wins

Restart smbd and nmbd services.