You are not logged in.
Pages: 1
Topic closed
Hi,
When trying to connect to samba share with nautilus where password is needed, I get
Unhandled error message: Failed to retrieve share list from server: Invalid argument
I just installed my system yesterday, so I didn't do anything that could mess up with config. I installed samba, smbclient, polkit, gvfs, gvfs-smb. And used default samba config as my config.
Running nautilus from command line didn't show any errors or warnings.
In journalctl I only see this error:
Kerberos auth with 'adrian@WORKGROUP' (WORKGROUP\adrian) to access '(IP)' not possible
I can connect to the share with smbclient using the same name and workgroup without any issue. On ubuntu connecting to samba share with nautilus worked out of the box.
Mounting with cifs also works without any issue, but I don't want to mount share on startup or mount it everytime from command line
I also tried
client min protocol = CORE
server min protocol = CORE
but it also didn't work out.
Samba and smbclient version:
Version 4.16.0
Nautilus version:
GNOME nautilus 41.2
Anyone could help?
EDIT: connecting to sftp share with nautilus works flawless. I'm getting prompt for password and share mounts without any issue. So it must be something with samba or gvfs-smb
Last edited by Arko (2022-03-28 12:54:27)
Offline
Got the same error on smbclient 4.16.0-1, downgrading to 4.15.6-1 fixes the issue.
Offline
Thanks! That did the trick. For now I'm holding this package.
Offline
I created a bug report here with links to the associated upstream bug reports
Offline
On ubuntu and fedora, connecting to samba share with nautilus worked out of the box.
The error sounds like you're trying to browse the server, not access a share directly. That won't work w/o NT1 on both sides - regardless of the distro.
What address do you specify?
Does
smb://[[domain;]username[:password]@]server[/share[/path]]
work?
(ie. "smb://adrian:supersecretpassword@IP/sharename")
Edit: fuck.
Last edited by seth (2022-03-28 12:55:13)
Offline
Got the same error on smbclient 4.16.0-1, downgrading to 4.15.6-1 fixes the issue.
Can confirm, downgrading solved the issue with Nemo on my main system (and the other Arch based ones too).
The issue persits in the newest version 4.16.0-2 of samba/smbclient.
To downgrade both:
$ sudo pacman -U /var/cache/pacman/pkg/smbclient-4.15.6-1-x86_64.pkg.tar.zst /var/cache/pacman/pkg/samba-4.15.6-1-x86_64.pkg.tar.zst
Last edited by Thermodynamic (2022-03-29 00:43:28)
Offline
Got the same error using nemo file browser "Failed to retrieve share list from server: Invalid argument" after upgrade to smbclient 4.16.0-1 Also downgraded to 4.15.6-1 to fix the issue.
Offline
Can confirm. I have fixed the problem by downgrading samba to 4.15.6-1 on the server and smbclient to 4.15.6-1 on the client, both running Arch Linux.
Last edited by Strangiato (2022-03-30 14:18:43)
Offline
Confirmed, was driving me crazy before! Downgrade to 4.15.6-1 works fine!
Offline
I already reported this issue to the Gnome people
Offline
Offline
I confirm, it's ok
pacman -U https://archive.archlinux.org/packages/path/smbclient-4.15.6-1-x86_64.pkg.tar.zst
yesterday I tried to mount the shares from the terminal smbclient > it's ok except for a network drive that contains a $
I'm a simple user of sharing.
an idea to mount a share with $ in the name? //share/folder1$/folder2/
dmesg shows attempt to mount on drive but stops at $
Last edited by ctony (2022-03-31 08:59:45)
Offline
@ctony there is a fixed PKGBUILD and fixed pre built packages in the Arch bug report if you want to upgrade again.
Offline
@seth, I don't think you got an answer, but you're spot on:
smb://username@host/share
works, but
smb://host/share
gives the
Failed to mount Windows share: Invalid argument
error - I tried both in Thunar and "gio mount" (which amounts to the same thing, I guess).
Offline
Can confirm, same error, downgrading to smbclient 4.15.6-1 fixed it.
Offline
That's enough +1 posts. There are active bugs at GNOME and the Arch bugtracker.
Closing for now to prevent more noise; Arko, if you want this thread reopened, use the Report link.
Offline
Pages: 1
Topic closed