connecting to samba fileshare fails if smb1(now deprecated) is not supported by the server
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gvfs (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When connecting with Nautilus to "smb://
Apr 12 19:31:31 semiauto dbus-daemon[729]: [system] Activating via systemd: service name='org.
Apr 12 19:31:31 semiauto gnome-shell[1916]: meta_window_
Apr 12 19:31:31 semiauto systemd[1]: Starting Hostname Service...
Apr 12 19:31:31 semiauto dbus-daemon[729]: [system] Successfully activated service 'org.freedeskto
Apr 12 19:31:31 semiauto systemd[1]: Started Hostname Service.
Apr 12 19:31:42 semiauto nautilus[381751]: GtkText - did not receive a focus-out event.#012If you handle this event, you must return#
Apr 12 19:31:42 semiauto gvfsd[171389]: smbXcli_
Apr 12 19:32:01 semiauto systemd[1]: systemd-
Since the client forces the server to use NT1 protocols, and the server is configured to NOT permit this, then hte client connection fails - ungracefully.
The solution is a few parts :
1. Negotatiate up to higher levels of encryption during connection time.
2. Gracefully provide a message back to nautilus that there is an error in connecting for X or Y reason (encryption related, specific to connection to this server )
It appears that this has been a known problem now for a few years, here is a reference to it in 2021 (but in Linux Mint):
https:/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gvfs 1.48.2-0ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-67-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckR
Date: Wed Apr 12 19:26:46 2023
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: gvfs
UpgradeStatus: Upgraded to jammy on 2022-11-22 (141 days ago)