[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2020-11-28 Thread MasterCATZ
*** This bug is a duplicate of bug 1778322 ***
https://bugs.launchpad.net/bugs/1778322

Ubuntu 20.04 LTS samba 2:4.11.6+dfsg-0ubuntu1.6

smbtree

lists all my network shares 
but nautilus 3.36.3 does not see anything ?

windows can occasionally see the ubuntu shares 
and I have to occasionally reload samba for nautilus to see the local share

I have tried

workgroup = WORKGROUP
   client min protocol = CORE
   client min protocol = NT1
   server min protocol = NT1
   client max protocol = SMB3
   client lanman auth = yes
   ntlm auth = yes
   local master = yes
   preferred master = yes
   wins support = yes


never had issues with Ubuntu 18.04 LTS

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2019-06-01 Thread Mathew Hodson
*** This bug is a duplicate of bug 1778322 ***
https://bugs.launchpad.net/bugs/1778322

** This bug has been marked a duplicate of bug 1778322
   gvfs-smb-browse can't browse samba/smb tree

** Project changed: samba => ubuntu

** Changed in: ubuntu
   Importance: Unknown => Undecided

** Changed in: ubuntu
   Status: Unknown => New

** Changed in: ubuntu
 Remote watch: Samba Bugzilla #12876 => None

** No longer affects: ubuntu

** Bug watch removed: Samba Bugzilla #12876
   https://bugzilla.samba.org/show_bug.cgi?id=12876

** Project changed: gvfs => ubuntu

** Changed in: ubuntu
   Importance: Medium => Undecided

** Changed in: ubuntu
   Status: Fix Released => New

** Changed in: ubuntu
 Remote watch: GNOME Bug Tracker #780958 => None

** No longer affects: ubuntu

** Bug watch removed: GNOME Bug Tracker #780958
   https://gitlab.gnome.org/780958

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2019-05-10 Thread Rex Tsai
** No longer affects: oem-priority

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2019-03-26 Thread Andreas Hasenack
This will be addressed shortly via bug #1778322

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2019-03-25 Thread TonyR
I wanted to reconfigure an old PC to be a music server connected to our
HIFI.  It took 3 days and 7 attempts to successfully install 18.04 due
to an issue with installing on PC with multiple drives.  It refused to
correctly write the GRUB boot loader to the same partition it itself
installed Ubuntu to. I had to strip out all the drives to get round the
problem to now discover I cannot connect to the Music media on my main
Windows 10 PC due to this SMB issue.  I got round it by the connect to
server option and bookmark option but Kodi cannot see the share or index
the Music.  Now I'm off to Kodi support.

Using Ubuntu since 2008 it seem that every release for me has bugs affecting 
core features such as USB Wireless card support, Sound, DVD burning software 
and display adapter support.  I cannot understand how the platform can be 
released with such fundamental feature broken.
No problem for those who are expert but for mass use users stuffing around for 
hours on forums searching out solutions is not a viable option.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2019-03-10 Thread Andreas Hasenack
What's described in comment #32 is being tracked in bug
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/1778322

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2019-03-10 Thread Amir
I have to say that this bug is a dissapointment. The whole samba support
in Ubuntu since 18.04 is abysmal. Prior to this, I was able to access
shares with no problems, now there is a problem. The bug has been posted
one year ago. After changing the protoocol, I discovered I needed to
change the interface too, because samba somehow insists on using
virtbr0.

Why? These things are a dealbreaker. My wife uses a NAS drive on our
network. Each time I tried to show her the advantages of linux, some
_basic_ function like using a NAS without configuring a f.. FTP client
for her, just coming to the box and finding that it works, prevented her
from switching.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-11-26 Thread Sebastien Bacher
** Changed in: samba (Ubuntu)
   Status: Confirmed => Invalid

** Changed in: samba (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-11-14 Thread Sebastien Bacher
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 Ubuntu
Desktop Bugs, which is subscribed to gvfs in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-11-10 Thread Bug Watch Updater
** Changed in: gvfs
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-09-09 Thread Michel-Ekimia
** Also affects: oem-priority
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-09-09 Thread Michel-Ekimia
** Project changed: nautilus => dolphin

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-07-20 Thread Bug Watch Updater
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 

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-07-20 Thread Nate Graham
** 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 Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-10 Thread Launchpad Bug Tracker
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 Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-10 Thread Launchpad Bug Tracker
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 Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-03 Thread tony
I mean to list shares NT1 is needed with smbtree.

the server will be listed but shares will not.

we will see what happens down the road but this is actually a good thing
because of security issues with lower protocols.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Re: [Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-03 Thread Andreas Hasenack
On Thu, May 3, 2018 at 5:54 PM, tony <1767...@bugs.launchpad.net> wrote:

> Andreas, it looks like to me that smbtree still needs NT1 to list
> shares, as people harden there servers and disable less secure protocols
> it will break browsing for shares.
>

Do you mean list shares or list computers?


> the only way to get the computer listing with non-NT1 that I know of at
> this point is with MDNS or Zeroconf/Bonjour
>

That's a remark I saw in the samba upstream bug too.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-03 Thread tony
Andreas, it looks like to me that smbtree still needs NT1 to list
shares, as people harden there servers and disable less secure protocols
it will break browsing for shares.

the only way to get the computer listing with non-NT1 that I know of at
this point is with MDNS or Zeroconf/Bonjour

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-03 Thread Andreas Hasenack
Defaults for xenial (samba 4.3.11):
  client min protocol = CORE
  client max protocol = default (which is NT1 in this version of samba)

Defaults for artful (samba 4.6.7):
  client min protocol = CORE
  client max protocol = default (which is NT1 in this version of samba)

Defaults for bionic (samba 4.7.6):
  client min protocol = CORE
  client max protocol = default (which is SMB3_11 in this version of samba)

So before bionic, if you wanted a more secure protocol, you had to
specify it (like smbclient's -m SMB3 option).

Now in bionic, if you want a *less* secure protocol. you have to specify
it.

Ideally, computer browsing and actually connecting to shares should
happen with different protocol versions.

smbclient in bionic does a quick downgrade to NT1 when needed. Notice the 
"Reconnecting" message intertwined in the output below:
ubuntu@bionic-desktop:~$ smbclient -L xenial -N -m SMB3
Anonymous login successful

Sharename   Type  Comment
-     ---
print$  Disk  Printer Drivers
public  Disk  Public share
IPC$IPC   IPC Service (xenial-desktop server (Samba, 
Ubuntu))
Reconnecting with SMB1 for workgroup listing.
Anonymous login successful

Server   Comment
----

WorkgroupMaster
----
UBUNTU   XENIAL


In artful, that downgrade does not happen, and we don't get the workgroup 
listing:
ubuntu@artful-desktop:~$ smbclient -L xenial -N -m SMB3
Anonymous login successful

Sharename   Type  Comment
-     ---
print$  Disk  Printer Drivers
public  Disk  Public share
IPC$IPC   IPC Service (xenial-desktop server (Samba, 
Ubuntu))
Anonymous login successful

Server   Comment
----

WorkgroupMaster
----
ubuntu@artful-desktop:~$ 


I suspect smbtree does the same. In bionic, where max protocol is SMB3_11 by 
default, it works out of the box. But in artful, if I set client max protocol 
to SMB3_11, it stops working:
ubuntu@artful-desktop:~$ testparm -s -v 2>/dev/null|grep "client max protocol"
client max protocol = default
ubuntu@artful-desktop:~$ smbtree
UBUNTU
\\XENIALxenial-desktop server (Samba, Ubuntu)
\\XENIAL\IPC$   IPC Service (xenial-desktop 
server (Samba, Ubuntu))
\\XENIAL\public Public share
\\XENIAL\print$ Printer Drivers
\\BIONICbionic-desktop server (Samba, Ubuntu)
\\BIONIC\IPC$   IPC Service (bionic-desktop 
server (Samba, Ubuntu))
\\BIONIC\public Public share
\\BIONIC\print$ Printer Drivers
\\ARTFULartful-desktop server (Samba, Ubuntu)
\\ARTFUL\IPC$   IPC Service (artful-desktop 
server (Samba, Ubuntu))
\\ARTFUL\public Public share
\\ARTFUL\print$ Printer Drivers
ubuntu@artful-desktop:~$ sudo vi /etc/samba/smb.conf 
ubuntu@artful-desktop:~$ testparm -s -v 2>/dev/null|grep "client max protocol"
client max protocol = SMB3
ubuntu@artful-desktop:~$ smbtree
ubuntu@artful-desktop:~$ 


So in summay, bionic samba's own tools seem to know when NT1 is needed and 
downgrade appropriately. Ideally the rest of the smb ecosystem should do the 
same, assuming there is no way to get the computer listing with non-NT1 
protocols.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-03 Thread tony
Andreas Hasenack, my server is nas4free (https://www.nas4free.org/)
running Samba version 4.7.6

smbstatus shows the connection with ubuntu 18.04 as SMB3_11.

ubuntu 17.10 would use NT1 by default.

so with 18.04 I would need to got to other "locations/connect to server"
and enter smb://server to be able to list and browse the shares.

if I want them to be automatically listed in "other locations" or
"windows network" i would need to downgrade the client protocol to NT1
with "client max protocol = NT1" on the client conf.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-03 Thread tony
Sebastien Bacher, I am not sure if it is documented anywhere?

I did notice that by default nautilus connects with smb3_11 to my
server.

thats good because it uses a more secure protocol but it breaks network
browsing.

if you downgrade to NT1 like I mentioned above it will work again but
with a lower protocol.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-05-03 Thread Andreas Hasenack
What are your servers? I can't get windows 10 or 2016 server to show up
not even in artful (17.10).

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Re: [Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-30 Thread David Spoelstra
No, in 18.04 my servers do not show up anywhere.

On Mon, Apr 30, 2018 at 5:01 PM Andreas Hasenack 
wrote:

> Do your servers show up under "Networks" in "other locations", just
> alongside the "Windows Network" folder? My NAS does show up there, but
> it could be because of some sort of zeroconf broadcast, not smb. My
> "windows network" is also empty, I'm just checking if newer windows
> installs would show up outside of "windows network" like my NAS does.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1767454
>
> Title:
>   "Other Locations" does not automatically find Samba servers in Ubuntu
>   18.04
>
> Status in gvfs:
>   Confirmed
> Status in samba:
>   Unknown
> Status in nautilus package in Ubuntu:
>   New
> Status in samba package in Ubuntu:
>   New
>
> Bug description:
>   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.
>
>
>   From syslog:
>   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
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gvfs/+bug/1767454/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-30 Thread Andreas Hasenack
Do your servers show up under "Networks" in "other locations", just
alongside the "Windows Network" folder? My NAS does show up there, but
it could be because of some sort of zeroconf broadcast, not smb. My
"windows network" is also empty, I'm just checking if newer windows
installs would show up outside of "windows network" like my NAS does.

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Re: [Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-30 Thread David Spoelstra
Fresh 18.04 install and  install of smbclient.

david@david-HP-ProBook-440-G2:~$ smbtree
WORKGROUP
\\RT-AC5300-C140 RT-AC5300-C140
\\RT-AC5300-C140\General (at Main)Main's General in Seagate
Backup+ Desk
\\RT-AC5300-C140\IPC$   IPC Service (RT-AC5300-C140)
\\DXSPIDER   Samba 4.5.12-Debian
\\DXSPIDER\IPC$   IPC Service (Samba 4.5.12-Debian)
\\DXSPIDER\RaspberryPi NASPi Server
\\DXSPIDER\print$ Printer Drivers

That is showing my servers, but Nautilus still doesn't...

This is my default smb.conf in 18.04:

[global]

   workgroup = WORKGROUP
   server string = %h server (Samba, Ubuntu)
   dns proxy = no
   log file = /var/log/samba/log.%m
   max log size = 1000
   syslog = 0
   panic action = /usr/share/samba/panic-action %d
   server role = standalone server
   passdb backend = tdbsam
   obey pam restrictions = yes
   unix password sync = yes
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\s*\spassword:* %n\n
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
   pam password change = yes
   map to guest = bad user
   usershare allow guests = yes

[printers]
   comment = All Printers
   browseable = no
   path = /var/spool/samba
   printable = yes
   guest ok = no
   read only = yes
   create mask = 0700

[print$]
   comment = Printer Drivers
   path = /var/lib/samba/printers
   browseable = yes
   read only = yes
   guest ok = no


On Mon, Apr 30, 2018 at 8:51 AM Andreas Hasenack 
wrote:

> After you install smbclient, can you please just run the "smbtree"
> command:
>
> Here it lists my NAS and its shares:
> $ smbtree
> LOWTECH
> \\NAS
> \\NAS\photo System default shared folder
> \\NAS\IPC$  IPC Service ()
> (...)
>
> This is my smb.conf where smbtree was run (all defaults):
> dns proxy = No
> log file = /var/log/samba/log.%m
> map to guest = Bad User
> max log size = 1000
> obey pam restrictions = Yes
> pam password change = Yes
> panic action = /usr/share/samba/panic-action %d
> passwd chat = *Enter\snew\s*\spassword:* %n\n
> *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
> passwd program = /usr/bin/passwd %u
> server role = standalone server
> server string = %h server (Samba, Ubuntu)
> syslog = 0
> unix password sync = Yes
> usershare allow guests = Yes
> idmap config * : backend = tdb
>
>
> [printers]
> browseable = No
> comment = All Printers
> create mask = 0700
> path = /var/spool/samba
> printable = Yes
>
>
> [print$]
> comment = Printer Drivers
> path = /var/lib/samba/printers
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1767454
>
> Title:
>   "Other Locations" does not automatically find Samba servers in Ubuntu
>   18.04
>
> Status in gvfs:
>   Confirmed
> Status in samba:
>   Unknown
> Status in nautilus package in Ubuntu:
>   New
> Status in samba package in Ubuntu:
>   New
>
> Bug description:
>   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.
>
>
>   From syslog:
>   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
> 

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-30 Thread Andreas Hasenack
After you install smbclient, can you please just run the "smbtree"
command:

Here it lists my NAS and its shares:
$ smbtree
LOWTECH
\\NAS   
\\NAS\photo System default shared folder
\\NAS\IPC$  IPC Service ()
(...)

This is my smb.conf where smbtree was run (all defaults):
dns proxy = No
log file = /var/log/samba/log.%m
map to guest = Bad User
max log size = 1000
obey pam restrictions = Yes
pam password change = Yes
panic action = /usr/share/samba/panic-action %d
passwd chat = *Enter\snew\s*\spassword:* %n\n 
*Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
passwd program = /usr/bin/passwd %u
server role = standalone server
server string = %h server (Samba, Ubuntu)
syslog = 0
unix password sync = Yes
usershare allow guests = Yes
idmap config * : backend = tdb


[printers]
browseable = No
comment = All Printers
create mask = 0700
path = /var/spool/samba
printable = Yes


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-29 Thread Bug Watch Updater
** Changed in: gvfs
   Status: Unknown => Confirmed

** Changed in: gvfs
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-29 Thread Sebastien Bacher
@tony, could you give some details about that SMB3_11 setting? Is that a
known upstream issue/documented somewhere?

** Bug watch added: GNOME Bug Tracker #780958
   https://bugzilla.gnome.org/show_bug.cgi?id=780958

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-29 Thread Sebastien Bacher
The upstream report claims it has been fixed in samba 4.8, we might have to 
look for a change to backport there
Another reference, https://bugzilla.samba.org/show_bug.cgi?id=12876

** Also affects: samba (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: samba via
   https://bugzilla.samba.org/show_bug.cgi?id=12876
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-29 Thread Sebastien Bacher
https://bugzilla.gnome.org/show_bug.cgi?id=780958 looks like the same
issue

** Changed in: nautilus (Ubuntu)
   Importance: Undecided => High

** Also affects: gvfs via
   https://bugzilla.gnome.org/show_bug.cgi?id=780958
   Importance: Unknown
   Status: Unknown

** Bug watch added: Samba Bugzilla #12876
   https://bugzilla.samba.org/show_bug.cgi?id=12876

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-28 Thread David Spoelstra
Thanks for the explanation, but that feels like a real regression to me!
Just last week with 17.10 I was showing some people running Windows how
easy it was to browse and connect to Windows servers with Nautilus. Now,
with 18.04, they again have to jump through hoops and know cryptic smb
URLs to connect to them...

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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/ubuntu/+source/nautilus/+bug/1767454/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-28 Thread tony
Nautilus is now using protocol SMB3_11 in Ubuntu 18.04 and that breaks
browsing shares.

you could always choose "other locations/connect to server" and bookmark
the location and use a more secure protocol.

you could also install "smbclient" and edit "/etc/samba/samba.conf" in
the [global] section section add "client max protocol = NT1"

once you logout and login you should now see your shares but you will be
using the NT1 protocol.

we will see if browsing shares gets fixed with SMB3 I guess?

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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/ubuntu/+source/nautilus/+bug/1767454/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

[Bug 1767454] Re: "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

2018-04-27 Thread David Spoelstra
** Summary changed:

- "Other Locations" do not automatically find Samba servers in Ubuntu 18.04
+ "Other Locations" does not automatically find Samba servers in Ubuntu 18.04

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to nautilus in Ubuntu.
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/ubuntu/+source/nautilus/+bug/1767454/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs