gvfs can't list shares from smb servers that disabled SMB1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs |
Fix Released
|
Unknown
|
|||
gvfs (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
After bug #1778322 is fixed (just needs a gvfs rebuild with newer samba), samba machines will start to show up again in the "windows network" tab in nautilus. But if a server has disabled the SMB1 protocol, nautilus will show an error when that server is clicked on, instead of showing the shares list.
Even with SMB1 disabled, it should still be technically possible to get a share list, since smbclient can do it:
andreas@nsnx:~$ nmblookup -A 192.168.122.101
Looking up status of 192.168.122.101
D-NO-SMB1 <00> - B <ACTIVE>
D-NO-SMB1 <03> - B <ACTIVE>
D-NO-SMB1 <20> - B <ACTIVE>
..__MSBROWSE__. <01> - <GROUP> B <ACTIVE>
WORKGROUP <00> - <GROUP> B <ACTIVE>
WORKGROUP <1d> - B <ACTIVE>
WORKGROUP <1e> - <GROUP> B <ACTIVE>
MAC Address = 00-00-00-00-00-00
andreas@nsnx:~$ smbclient -L 192.168.122.101 -N
WARNING: The "syslog" option is deprecated
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
pub_no_smb1 Disk
IPC$ IPC IPC Service (d-no-smb1 server (Samba, Ubuntu))
Reconnecting with SMB1 for workgroup listing.
protocol negotiation failed: NT_STATUS_
Failed to connect with SMB1 -- no workgroup available
andreas@nsnx:~$ smbclient //192.168.
WARNING: The "syslog" option is deprecated
protocol negotiation failed: NT_STATUS_
andreas@nsnx:~$ smbclient //192.168.
WARNING: The "syslog" option is deprecated
Try "help" to get a list of possible commands.
smb: \> dir
. D 0 Fri May 3 18:16:38 2019
.. D 0 Fri May 3 18:15:24 2019
hello.txt N 21 Fri May 3 18:16:12 2019
hello-
20509264 blocks of size 1024. 13121800 blocks available
summary: |
- gvfs can't browse smb servers that disabled SMB1 + gvfs can't list shares from smb servers that disabled SMB1 |
Changed in gvfs: | |
status: | Unknown → New |
Changed in gvfs (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: desktop-lts-wishlist |
Changed in gvfs: | |
status: | New → Fix Released |
Changed in gvfs: | |
status: | Unknown → New |
Changed in gvfs: | |
status: | Unknown → New |
Changed in gvfs: | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.