The last few releases of Ubuntu introduced a number of changes to Samba itself, its Linux kernel component, and even how Ubuntu configured it.
Mint 19 as a Samba Client
[A] Are you trying to get a list of all the samba / smb servers on your network from your file manager?
Samba changed the maximum client smb dialect that it can use from SMB1 to SMB3 so that it could connect to servers that have disabled SMB1 like Win10. This inadvertently disables netbios host discovery so if you go to Network > Windows Network you will see something like
Folder is Emptyin Ubuntu and just a blank screen in Cinnamon, Xubuntu, etc,..
You can restore it's discovery ability by editing /etc/samba/smb.conf and right under the
workgroup = WORKGROUPline add this one:
Code: Select all
client max protocol = NT1
But: If you set the max back to NT1 you will be able to see a server that has disabled SMB1 ( Win10 ) but you will not be able to access it through the file manager.
** With the default setting of SMB3 you can however still access it but you have to do so explicitly by name in your file manager ( smb://windows-host-name ) or ip address ( smb://192.168.0.100 ), or by using Connect to Server.
If you have a problem with that please see this: Samba Browsing Problems Checklist.
** If the other machine runs Win10 you can also use this method: Win10, Linux, mDNS, and Samba File Sharing
** This change to smb3 does not impact any machines that have registered mDNS for their samba / smb shares. So if the other machine runs Ubuntu 17.10 or newer, another Mint 19 machine, or macOS you will automatically see those machines under Network - but not under Windows Network since it's not using a Windows discovery protocol.
** If the other Linux machine is using an earlier Mint or Ubuntu I would suggest adding to those machines an avahi/samba service announcement: Samba Browsing in an all Linux or Linux/OSX network
[ B] Are you using CIFS to mount your server?
The Linux kernel starting with 4.13 changed the default smb dialect that CIFS uses to SMB3 from SMB1. After 4.13.5 it's set to negotiate the version used with the server between 2.1 to 3.02 ( 3.11 in linux kernel 4.17 ). All modern SMB servers ( Win10, macOS, and Linux ) will accept SMB3 so this should not be an issue.
** What can be an issue is if you are running something with a very old version of samba like most NAS devices and there you would have to add an option to your cifs mount statement forcing it back to SMB1:
Code: Select all
First: Remember Mint doesn't install the samba server package by default any longer so install it now:
Code: Select all
sudo apt install samba
Stating with Ubuntu 17.10 Samba has been configured correctly for mDNS. As soon as you install Samba your machine will become visible to all the other Linux and macOS machines by default. If you created shares on Mint19 those shares will also be visible. There is no need to make any other changes
[C2] Are the clients to this machine running Windows?
A Windows machine will have the same success or failure at discovering your machine that it did in earlier Mint versions. If you have problems see: Samba Browsing Problems Checklist.
If it is running Win10 it can always use \\mint-host-name.local or \\mint-ip-address.