I am using Manjaro KDE on my laptop and want to connect to Samba shares from a Pi running Ubuntu 20.04.
I re-installed Manjaro recently and now I notice those Samba shares do not automatically appear when I click on Network > Shared Folders (SMB) in Dolphin. I have to type in the ip address of the Ubuntu server in the address bar, e.g…
Then I can see the Samba shares and I can click in to them.
But I am 99% sure the shares (or maybe it was the names of the machines that the shares reside on?) used to auto-populate in Dolphin just like they do in Windows File Explorer (these day with the help of WSDD).
Manjaro does not provide a special version of Dolphin - this is provided by upstream KDE.
It is impossible to know if you can see all SMB shares as this will depend on your priviliges on the network.
Any and all interaction between your system and the network - with relation to SMB shares - are bound to the capabilites of the smbclient utilities, the permissions on the network and how the networked computers are configured.
Okay so there are many factors that influence how or if this could work. But is it possible?
Are you familiar with Windows file explorer how the Network Neighborhood populates with other computers on the same local LAN? It used to be thanks to NetBIOS but these days you need wsdd running on Linux machines and this makes them automatically show up in windows file explorer.
Is it possible to get the same thing working with dolphin in Manjaro? Can other machines on the lan announce themselves in dolphin when you click Network > Shared Folders (SMB).
From there I could double click on each and see any samba shares they have? I thought I had this working before I reinstalled Manjaro recently…
So I need to enable SMBv1 in order to have browsing of the network neighborhood?
Do I add the line: client min protocol = NT1
… into smb.conf on my Ubuntu server or in my Manjaro client or maybe both?
Will I need to install Samba server in Manjaro to get network browsing in Dolphin?
I installed smb4k but when I try to run it then it starts and immediately stops.
I think someone else had the same problem and asked the smb4k developer and got this answer:
With the Samba 4.7 release, the default protocol version has been set to SMB3 by the Samba team.
Unfortunately, Samba’s client library cannot handle it correctly at the moment and browsing the network neighborhood will fail. For this reason, users of Samba 4.7 and above need to add the following setting to the [global] section of the smb.conf file to force Samba to use SMB1 (NT1) and, thus, fix the browsing of the network neighborhood:
client max protocol = NT1
I tried putting that in /etc/samba/smb.conf in Manjaro and in Ubuntu then: sudo service smbd restart
… but still nothing showing in Dolphin > Network > Shared Folders (SMB)
Admittedly I don’t actually have Samba server installed in Manjaro right now so don’t see how smb.conf in Manjaro can be doing anything!