Ubuntu – Cannot Access previous Windows Shares with LTS 18.04.01

samba

This week I updated from LTS 16.04 to 18.04.01 with around a 95% success rate. The issue I'm having is that I had a working share from my Windows 7 PC via a home LAN to Ubuntu. When the update finished the Files icon shows "Windows Network" and "No Files Found". I can however see my provided Ubuntu public folder from the Windows PC.

I've tried "Connect to server" and it fails (correct IP verified); I've scoured all the sources I can find and still cannot find a way to get to my Windows PC.

I did run smbtree and it shows all the shares that I expected to fine (and no extras). Since Bionic Beaver appears to have changed how the Files icon works (no "network" anymore) can anyone point me to a way to get these shares back?

Best Answer

You appear to have 2 problems:

When the update finished the Files icon shows "Windows Network" and "No Files Found".

Edit /etc/samba/smb.conf and right under the "workgroup = WORKGROUP" line add this one then save the file:

client max protocol = NT1

Just remember that once that is done you will no longer be able to connect to a Win10 machine or any other system that has disabled NT1 ( aka SMB1 ) -- at least not through the file manager.

I've tried "Connect to server" and it fails (correct IP verified);

If you are trying to connect via an ip address and it fails that is an entirely different problem and is unrelated to the first. How does it fail? What error message?

Related Question