Discussion:
[Bug 1767454] [NEW] "Other Locations" does not automatically find Samba servers in Ubuntu 18.04
Launchpad Bug Tracker
2018-05-10 18:44:25 UTC
Permalink
You have been subscribed to a public bug by Rik Mills (rikmills):

Ubuntu: 18.04 clean install
Nautilus: 1:3.26.3-0ubuntu4

The actions taken to produce the problem:
Click on “Other Locations” in Nautilus.

The expected result of these actions:
Samba servers to automatically show up under “Networks”. This is the behavior in Ubuntu 17.10 using Nautilus 1:3.26.0-0ub. Also, clicking on “”Windows Network” immediately shows "Folder is Empty".

The actual result of these actions:
The Samba servers never show up under “Networks” and clicking on "Windows Network" always immediately comes up with "Folder is Empty".

Further information:
This happens on both machines with a clean Ubuntu 18.04 install. My Ubuntu 17.10 machines still work like expected.

I can still manually type in the Samba information in "Connect to
Server" and the 18.04 machines connect just fine.
Apr 27 13:49:34 david-HP-ProBook-440-G2 dbus-daemon[1333]: [session uid=1000 pid=1333] Activating service name='org.gnome.Nautilus' requested by ':1.13' (uid=1000 pid=1468 comm="/usr/bin/gnome-shell " label="unconfined")
Apr 27 13:49:34 david-HP-ProBook-440-G2 dbus-daemon[1333]: [session uid=1000 pid=1333] Successfully activated service 'org.gnome.Nautilus'
Apr 27 13:49:35 david-HP-ProBook-440-G2 dbus-daemon[754]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.131' (uid=1000 pid=4857 comm="/usr/bin/nautilus --gapplication-service " label="unconfined")
Apr 27 13:49:35 david-HP-ProBook-440-G2 systemd[1]: Starting Hostname Service...
Apr 27 13:49:35 david-HP-ProBook-440-G2 nautilus[4857]: Called "net usershare info" but it failed: Failed to execute child process “net” (No such file or directory)
Apr 27 13:49:35 david-HP-ProBook-440-G2 dbus-daemon[754]: [system] Successfully activated service 'org.freedesktop.hostname1'
Apr 27 13:49:35 david-HP-ProBook-440-G2 systemd[1]: Started Hostname Service.
Apr 27 13:49:40 david-HP-ProBook-440-G2 gvfsd[1432]: mkdir failed on directory /var/cache/samba: Permission denied

** Affects: gvfs
Importance: Medium
Status: Confirmed

** Affects: samba
Importance: Unknown
Status: Unknown

** Affects: nautilus (Ubuntu)
Importance: High
Status: Confirmed

** Affects: samba (Ubuntu)
Importance: Undecided
Status: Confirmed
--
"Other Locations" does not automatically find Samba servers in Ubuntu 18.04
https://bugs.launchpad.net/bugs/1767454
You received this bug notification because you are a member of Kubuntu Bugs, which is subscribed to the bug report.
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubun
Launchpad Bug Tracker
2018-05-10 18:32:39 UTC
Permalink
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: samba (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to a duplicate bug report (1770022).
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
ht
Launchpad Bug Tracker
2018-05-10 18:32:39 UTC
Permalink
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: nautilus (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to a duplicate bug report (1770022).
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
Nate Graham
2018-07-20 21:16:52 UTC
Permalink
** Bug watch added: KDE Bug Tracking System #392447
https://bugs.kde.org/show_bug.cgi?id=392447

** Also affects: nautilus via
https://bugs.kde.org/show_bug.cgi?id=392447
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ku
Bug Watch Updater
2018-07-20 22:02:20 UTC
Permalink
Launchpad has imported 9 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=392447.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2018-03-28T11:37:42+00:00 Suse wrote:

Dolphin doesn't show any samba share.
smb:// and smb://workgroup/ are empty.

However, smbtree is always working.
If made all test with deactivated firewall.

Entering a specific share like smb://twvm1/ is always working.


I've made many test with different distributions and software versions:
--------
DOES NOT WORK:

Tumbleweed with:
Plasma: 5.12.3
Framework: 5.44.0
Applications: 17.12.3
Samba: 4.7.6

Fedora 27 with
Plasma: 5.12.2
Framework: 5.44.0
Applications: 17.12.2
Samba: 4.7.6

Neon with
Plasma: 5.12.3
Framework: 5.44.0
Applications: 17.12.3
Samba 4.3.11-Ubuntu
extra file: ~/.smb/smb.conf
[global]
client max protocol = SMB2


----------
WORKS:

Neon with
Plasma: 5.12.3
Framework: 5.44.0
Applications: 17.12.3
Samba 4.3.11-Ubuntu

Tumbleweed with:
Plasma: 5.12.3
Framework: 5.44.0
Applications: 17.12.3
Samba: 4.6.16 (Downgraded with repo home:j-engel)

Tumbleweed with:
Plasma: 5.12.3
Framework: 5.44.0
Applications: 17.12.3
Samba: 4.7.6
extra file: ~/.smb/smb.conf
[global]
client max protocol = NT1

===============
Conclusion:
As soon as the samba protocol newer NT1 (e.g. SMB2) is used, then dolphin doesn't show the samba shares.

You can force the usage of NT1 via:
- Samba < 4.7
or adding the extra file ~/.smb/smb.conf
[global]
client max protocol = NT1

You can force the usage of SMB2 or SMB3 via:
- Samba >= 4.7
or adding the extra file ~/.smb/smb.conf
[global]
client max protocol = SMB3

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/0

------------------------------------------------------------------------
On 2018-03-28T11:40:01+00:00 Suse wrote:

Created attachment 111699
journalctl of samba 4.7.6

This log is from a samba 4.7.6 machine where the SMB2 or SMB3 protocol is used.
I've clicked on "samba shares" in dophin (= smb://).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/1

------------------------------------------------------------------------
On 2018-04-30T15:58:54+00:00 ben van 't ende wrote:

I added the extra file ~/.smb/smb.conf
[global]
client max protocol = NT1

For Kubuntu 18.04 (Samba version 4.7.6-Ubuntu)

to get it to work

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/10

------------------------------------------------------------------------
On 2018-05-05T18:01:15+00:00 Strangiato Xanadu wrote:

I can not confirm.
My two computers run Arch Linux
pc A: kde plasma 5.12.5, frameworks 5.45, dolphin 18.04, samba 4.8.1
pc B: Gnome 3.28.1, nautilus 3.28.1, samba 4.8.1

Both computers have
"[global]
client max protocol = SMB2"
in their smb.conf file.
Dolphin from pc A shows the samba shares from pc B.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/21

------------------------------------------------------------------------
On 2018-05-06T00:32:32+00:00 Strangiato Xanadu wrote:

*** Bug 393880 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/22

------------------------------------------------------------------------
On 2018-06-23T10:08:22+00:00 Y-dev-4 wrote:

I can confirm this behavior with openSUSE Leap 15.0 (Plasma 5.12.5,
Frameworks 5.45.0) on the client and Samba 4.6.14 on the server.

Dolphin shows nothing with smb:// if I go to the share directly in
Dolphin it works. With smbtree the shares are showing correctly.

The following file on the client helps, thank you:
~/.smb/smb.conf
[global]
client max protocol = NT1

But it would be better do solve this issue in the smb kio plugin
directly.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/25

------------------------------------------------------------------------
On 2018-07-20T21:06:01+00:00 Nate-b wrote:

*** Bug 392803 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/26

------------------------------------------------------------------------
On 2018-07-20T21:06:02+00:00 Nate-b wrote:

*** Bug 388000 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/27

------------------------------------------------------------------------
On 2018-07-20T21:14:38+00:00 Nate-b wrote:

Migrating information from a duped bug:

The SMB1 protocol is deprecated and Microsoft strongly urges people not
to use it. Windows 2016 server does not support it, and Windows 10 only
supports it if it's used within the first 15 days (!). It's clearly not
going to work in the future. [1]

Ubuntu 18.04 ships with Samba 4.7.6, which uses SMB2 by default.

Network discovery is provided by the SMB1 protocol. [2]

In SMB2 and later, network discovery has to be provided by a separate
protocol, WS-Discovery.

There doesn't seem to be any Linux support for WS-Discovery, either in
the Samba project or elsewhere[3]

The Smbtree command line tool intelligently downgrades itself to using
the old SMB1 version for the purposes of browsing.[4] Connections are
actually made using the newer, more secure version. libsamba (the actual
library that we use) does not have the same behavior.


---


Distros have been left with two bad options: stay with the insecure and deprecated SMB1 protocol to preserve the network discovery feature for many (but not all) SMB resources, or move to the secure and supported version of the SMB protocol and lose network discovery for all SMB resources. Ubuntu and OpenSUSE chose the latter.

You can make the other choice for yourself by adding "client max version
= NT" to /etc/samba/smb.conf.


---


KDE's options are as follows:
1. Wait for Samba to support the newer WS-Discovery protocol for browsing
2. Implement WS-Discovery support ourselves, perhaps taking inspiration or re-using an existing approach. [5][6]


[1] https://blogs.technet.microsoft.com/filecab/2016/09/16/stop-using-smb1/
[2] https://dev.solus-project.com/T1223#91845
[3] https://dev.solus-project.com/T1223#92389
[4] https://bugzilla.samba.org/show_bug.cgi?id=12876#c2
[5] https://nmap.org/nsedoc/scripts/wsdd-discover.html
[6] http://www.dankulp.com/blog/2013/05/apache-cxf-and-ws-discovery/

Reply at:
https://bugs.launchpad.net/ubuntu/+source/nautilus/+bug/1767454/comments/28


** Changed in: nautilus
Importance: Unknown => High
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/gvfs/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-
Michel-Ekimia
2018-09-09 19:39:03 UTC
Permalink
** Project changed: nautilus => dolphin
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dolphin/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bug
Michel-Ekimia
2018-09-09 21:39:01 UTC
Permalink
** Also affects: oem-priority
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dolphin/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubunt
Nate-b
2018-09-17 14:28:30 UTC
Permalink
*** Bug 398698 has been marked as a duplicate of this bug. ***
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dolphin/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailm
Nate-b
2018-09-21 16:01:37 UTC
Permalink
The GNOME folks just forced the use of SMB1/NT1 for discovery purposes
in Nautilus/GVFS:
https://gitlab.gnome.org/GNOME/gvfs/merge_requests/12/diffs

We might consider doing something similar until a better fix can be
implemented.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dolphin/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman/
Strangiato Xanadu
2018-10-17 10:02:48 UTC
Permalink
*** Bug 399906 has been marked as a duplicate of this bug. ***
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dolphin/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailm
Bug Watch Updater
2018-11-10 19:09:11 UTC
Permalink
** Changed in: gvfs
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dolphin/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://lists.ubuntu.com/mailman
Sebastien Bacher
2018-11-14 09:15:57 UTC
Permalink
The issue is fixed with gvfs 1.38.1 in disco, that version is being
SRUed now to cosmic and the patch backported to a bionic SRU

** Package changed: nautilus (Ubuntu) => gvfs (Ubuntu)

** Changed in: gvfs (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1767454

Title:
"Other Locations" does not automatically find Samba servers in Ubuntu
18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/dolphin/+bug/1767454/+subscriptions
--
kubuntu-bugs mailing list
kubuntu-***@lists.ubuntu.com
https://
Loading...