You are not logged in.

#1 2019-02-27 05:11:57

myk.robinson
Member
Registered: 2015-12-26
Posts: 32

Gnome - SMB Shares - Credentials Prompt

Not quite sure which subforum this goes in, so I'll try here and see if the admins move me.

Running Arch with Gnome as the DE.

I am trying to browse Windows shares in Files.

If i use smb://192.168.100.X    my expectation is a prompt for user name and password for the target. instead, I get an error message stating:

Oops! Something went wrong. Unhandled error message: Failed to retrieve share list from server: Invalid argument

However, if i change my URL to   smb://username@192.168.100.X    I then get a prompt and can add a domain name, and enter the password.

What do I need to change or edit to have Gnome always prompt me for a username and password when attempting to access Windows shares if either the share is not public and does not allow anonymous login, or if I simply do no add a username when entering the URL? I know this seems petty, but I'd like for it to prompt, just like it would in Windows if I try to access a share.

Thanks

Offline

#2 2019-02-27 07:41:05

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,789

Re: Gnome - SMB Shares - Credentials Prompt

99% chance browsing fails due to the NT2 limit, you could try setting "client max protocol = NT1" in /etc/samba/smb.conf

However, SMBv1 was deprecated due to major security flaws (wannacry) so if that's your only issue, it's not worth it.
SMBv2 & 3 are fundamentally different from SMBv1 and to some extent lack features that are currently in discussion for addition to the protocol.

With a 1% chance it's simply a bug in gvfs.

Offline

Board footer

Powered by FluxBB