If you get an error while trying to mount an SMB1 samba share and you have no way to upgrade your server for whatever reason (hello Freebox users), do this as per this post:
$ sudo vim /etc/samba/smb.conf
[global] client min protocol = CORE
The error I was getting in Thunar file manager was something along the lines "failed to mount, software caused connection abort".
Hope this helps!
My testing with Nessus has indicated SMBv1 is only disabled when setting
min protocol = SMB2
in the [global] section of smb.conf . Core, LANMAN2 and NT1 were all still flagged as being vulnerable.
I had to add this for it to work in my old ubuntu 12-server; with either of min/max-combination SMBv1 is enabled but with both it works fine.
[global]
min protocol = SMB2
max protocol = SMB2
client min protocol = SMB2
client max protocol = SMB2
First, there is no such thing as a HomeGroup in Linux, MacOS, or Windows starting with Win10.
Second, if you are talking about that specific error when running smbclient you would need to enable SMB1 ( Samba calls it NT1 ) on the client side in /etc/samba/smb.conf. Right under the workgroup = WORKGROUP line add this one:
client min protocol = NT1
Of course the server you are trying to connect to must have SMB1 enabled on its side. If you kept your Win10 machine up to date it is disabled so you will have to enable it there. If the server is running Ubuntu 20 or anything with the same version of samba you would have to edit smb.conf on that machine and add:
server min protocol = NT1
Then restart samba:
sudo service smbd restart
sudo service nmbd restart
If you don't do that on the server you will likely get a protocol negotiation failed: error.
That will probably eliminate the SMB1 error message. Whether you can "discover" all the workgroups and hosts in Nautilus is another matter. If you have to turn the clock back to SMB1 days you need to follow the rules set at that era ... name resolve order, host name length restrictions, etc ...
ran into this trying to get an old Netgear Stora to resolve on a unbuntu network
client min protocol = CORE
will get you up and going
20.04 LTS
ps this article may also help you