Configuring 20.04 samba for SMBv1

Is there a way to configure the current samba to be able to display workgroups and/or homegroups?

SMB1 disabled -- no workgroup available

2 Answers

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 ...

2

since Samba 4.11 it no longer allows support for NT1 (SMB1)

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like