linuxmint / nemo

File browser for Cinnamon
GNU General Public License v2.0
1.19k stars 298 forks source link

Samba network share access failed, but I do not see anything in logs (even with NEMO_DEBUG=all) #2594

Open brunetton opened 3 years ago

brunetton commented 3 years ago
 * Nemo version: nemo 4.4.2
 * Distribution - (Mint 17.2, Arch, Fedora 25, etc...): Ubuntu 20.04
 * 32 or 64 bit: 64

Issue

This is probably due to Ubuntu upgrade: I just upgraded from Ubuntu LTS 18 to Ubuntu LTS 20 but after upgrade I can't access Samba mounts anymore (smb://192.168.1.110/): I get a window error message saying: Unable to access location failed to retrieve the share list from server: Software caused connection abort. It doesn't teach much and I'd like to see the command line used to reproduce this (if a command line is used), or some logs, trace, etc

(I had a look in samba logs but I don't see anything. I suppose this is totally normal as those log should be samba daemon log, not samba client ones)

Steps to reproduce

nemo -q
export NEMO_DEBUG=All
nemo --debug

Expected behaviour

Other information

Fantu commented 3 years ago

I have ubuntu 20.04 with nemo but I unable to reproduce it. Try to check if needed pkgs are installed with dpkg -l gvfs*. Kernel should already have cifs support and I don't know if other packages are needed, try to connect to smn share from terminal to check is working. If in terminal is not working is something wrong in parameters or destination (and is not a nemo/gvfs issue), if from terminal is working a gvfs debug is needed.

icarter09 commented 3 years ago

Nemo v.4.8.2 Mint 20 64bit

@brunetton is your samba server not appearing under Network? I have noticed issues when trying to connect to a samba server via File->Connect to Server..., but the samba server always appears for me under Network in the Nemo sidebar?

brunetton commented 2 years ago

Hi

Sorry for my non-answer :-1: I don't know why I didn't seen your messages here :(

Facing this problem again today in Ubuntu 20.04.3 LTS:

I can access to this computer using another computer, or my phone (Solid Explorer)

> dpkg -l gvfs*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name            Version         Architecture Description
+++-===============-===============-============-============================================================
ii  gvfs:amd64      1.44.1-1ubuntu1 amd64        userspace virtual filesystem - GIO module
ii  gvfs-backends   1.44.1-1ubuntu1 amd64        userspace virtual filesystem - backends
ii  gvfs-bin        1.44.1-1ubuntu1 amd64        userspace virtual filesystem - deprecated command-line tools
ii  gvfs-common     1.44.1-1ubuntu1 all          userspace virtual filesystem - common data files
ii  gvfs-daemons    1.44.1-1ubuntu1 amd64        userspace virtual filesystem - servers
ii  gvfs-fuse       1.44.1-1ubuntu1 amd64        userspace virtual filesystem - fuse server
ii  gvfs-libs:amd64 1.44.1-1ubuntu1 amd64        userspace virtual filesystem - private libraries

I'll try to connect to this sharing using command line; but I've to find out howto do it before !

Would it be possible to have more debug output concerning this error ? Thanks !