unix – the smb server does not appear in the Finder sidebar under Locations

I have installed Samba on Linux.

  • From Finder> Go> "Connect to Server …", I can connect to the server and see my folders.
  • The server appears in the Finder sidebar under Locations.
  • When I dismount the server, it disappears from the sidebar and does not return.

What should I do to make the server always appear in the sidebar when it is running?

I have tried various things that I have found on the web. No joy.

  • macOS 10.14.3
  • samba 2: 4.5.16 + dfsg-1
  • Linux ft 4.14.98-v7 + # 1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU / Linux