← Back to team overview

debcrafters-packages team mailing list archive

Re: [Bug 2040068] Re: Can't connect my Synology NAS from Ubuntu 22.04

 

Hi Benjamin,

Thank you for your swift reply.
I connect through Gnome Files (ex Nautilus).
I click on "Other locations" then on my NAS.

A few months ago, it didn't work and both my laptop and my NAS logs
reported that it failed because Ubuntu used the SMB1 protocol.
Ubuntu log: *oct. 09 21:56:32 xxx gvfsd[9205]: smbXcli_negprot_smb1_done:
No compatible protocol selected by server.*
NAS log: *Host [192.168.1.22] failed to connect via [SMB] due to [SMB1 not
permitted].*

But now, since I sent out my previous email, it seems to be working
hopefully permanently.
NAS log: *User [...] from [192.168.1.22] signed in to [DSM] successfully
via [password].*
NAS log: *User [...] from [...(192.168.1.22)] via [CIFS(SMB3)] accessed
shared folder [Photos].*

Has something changed?

Best regards.

Le ven. 5 sept. 2025 à 16:46, Benjamin Drung <2040068@xxxxxxxxxxxxxxxxxx> a
écrit :

> Hi, Raphaël, can you describe how you (try to) access the NAS? Do you
> use a command line tool or nautilus? What steps do you do?
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/2040068
>
> Title:
>   Can't connect my Synology NAS from Ubuntu 22.04
>
> Status in gvfs package in Ubuntu:
>   New
>
> Bug description:
>   I purchased a Synology DS723+ NAS (under DSM 7.2-64570).
>   I access it without any problem from a Huawei MateBook 14s running
> Ubuntu 22.04.
>
>   I can't do it, however, from an Acer Swift 5 also running Ubuntu 22.04.
>   Seen from this PC, I get the following message:
>   "Unable to access location
>   Failed to get list of shares from server: Invalid argument."
>
>   When I look at my NAS log, the connection attempt gives the following
> message:
>   "Host [192.168.1.22] failed to connect via [SMB] due to [SMB1 not
> permitted]."
>
>   While the message obtained after a successful connection with the other
> PC is the following:
>   "User [xxx] from [xxx(192.168.1.36)] via [CIFS(SMB3)] accessed shared
> folder [Photos]."
>
>   I tried to compare the differences between the 2 PCs running Ubuntu
> 22.04 without success.
>   Samba was not initially installed on the Acer Swift 5 initially, but the
> installation did not correct the problem.
>   After reading different posts, I understand that the SMB1 connection is
> disabled by default since Ubuntu 20.04: I therefore do not understand why
> the Acer Swift 5 seems to connect like that.
>
>   And when I run "journalctl -f" on my Acer and then try to connect to the
> NAS, here is what I get:
>   oct. 09 21:56:32 xxx gvfsd[9205]: smbXcli_negprot_smb1_done: No
> compatible protocol selected by server.
>   oct. 09 21:56:47 xxx gvfsd[9205]: smbXcli_negprot_smb1_done: No
> compatible protocol selected by server.
>
>   ProblemType: Bug
>   DistroRelease: Ubuntu 22.04
>   Package: gvfs 1.48.2-0ubuntu1
>   ProcVersionSignature: Ubuntu 5.15.0-86.96-generic 5.15.122
>   Uname: Linux 5.15.0-86-generic x86_64
>   ApportVersion: 2.20.11-0ubuntu82.5
>   Architecture: amd64
>   CasperMD5CheckResult: unknown
>   CurrentDesktop: ubuntu:GNOME
>   Date: Sat Oct 21 18:06:52 2023
>   InstallationDate: Installed on 2020-02-21 (1337 days ago)
>   InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64
> (20200203.1)
>   ProcEnviron:
>    TERM=xterm-256color
>    PATH=(custom, no user)
>    XDG_RUNTIME_DIR=<set>
>    LANG=fr_FR.UTF-8
>    SHELL=/bin/bash
>   SourcePackage: gvfs
>   UpgradeStatus: Upgraded to jammy on 2022-09-04 (412 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/2040068/+subscriptions
>
>

-- 
You received this bug notification because you are a member of
Debcrafters packages, which is subscribed to gvfs in Ubuntu.
https://bugs.launchpad.net/bugs/2040068

Title:
  Can't connect my Synology NAS from Ubuntu 22.04

Status in gvfs package in Ubuntu:
  New

Bug description:
  I purchased a Synology DS723+ NAS (under DSM 7.2-64570).
  I access it without any problem from a Huawei MateBook 14s running Ubuntu 22.04.

  I can't do it, however, from an Acer Swift 5 also running Ubuntu 22.04.
  Seen from this PC, I get the following message:
  "Unable to access location
  Failed to get list of shares from server: Invalid argument."

  When I look at my NAS log, the connection attempt gives the following message:
  "Host [192.168.1.22] failed to connect via [SMB] due to [SMB1 not permitted]."

  While the message obtained after a successful connection with the other PC is the following:
  "User [xxx] from [xxx(192.168.1.36)] via [CIFS(SMB3)] accessed shared folder [Photos]."

  I tried to compare the differences between the 2 PCs running Ubuntu 22.04 without success.
  Samba was not initially installed on the Acer Swift 5 initially, but the installation did not correct the problem.
  After reading different posts, I understand that the SMB1 connection is disabled by default since Ubuntu 20.04: I therefore do not understand why the Acer Swift 5 seems to connect like that.

  And when I run "journalctl -f" on my Acer and then try to connect to the NAS, here is what I get:
  oct. 09 21:56:32 xxx gvfsd[9205]: smbXcli_negprot_smb1_done: No compatible protocol selected by server.
  oct. 09 21:56:47 xxx gvfsd[9205]: smbXcli_negprot_smb1_done: No compatible protocol selected by server.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: gvfs 1.48.2-0ubuntu1
  ProcVersionSignature: Ubuntu 5.15.0-86.96-generic 5.15.122
  Uname: Linux 5.15.0-86-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.5
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Oct 21 18:06:52 2023
  InstallationDate: Installed on 2020-02-21 (1337 days ago)
  InstallationMedia: Ubuntu 18.04.4 LTS "Bionic Beaver" - Release amd64 (20200203.1)
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=fr_FR.UTF-8
   SHELL=/bin/bash
  SourcePackage: gvfs
  UpgradeStatus: Upgraded to jammy on 2022-09-04 (412 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gvfs/+bug/2040068/+subscriptions



References