11

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

SMB1 disabled -- no workgroup available
1
  • since Samba 4.11 it no longer allows support for NT1 (SMB1)
    – Evo2000
    Feb 22, 2022 at 13:53

2 Answers 2

26

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

3
  • 1
    It'd be nice if that worked, but it doesn't. It doesn't complain about those options, but they don't actually do anything. min/max set to NT1, SMB2/3 are still the only things that work.
    – Ricky
    Apr 16, 2021 at 10:43
  • Frankly not being able to connect to existing but legacy appliances is a greater security concern than any SMB1 risk on most home networks. Ubuntu seem to have forgotten their roots. Only firmware should still be running it. Upgrading is not always economically possible,
    – mckenzm
    Apr 23, 2021 at 22:38
  • Tested in Ubuntu 22.04 which serves as samba storage and was not visible by Xiaomi Mi Security camera. Works like a charm now. Jul 9 at 12:42
0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .