Ubuntu 20.04: Error when accessing a folder shared with the file manager "failed to retrieve share list from server: invalid argument"

Asked by Tiago Jonas da Silva

I am testing the new version of Ubuntu 20.04. But i have encountered a problem. When a share a folder with the file manager(Nautilus), this folder is not accessible from other machine in the local network. They can see the folder but when i try to open, I have this error: "Failed to retrieve share list from the server: invalid argument(sometimes I have time out)".

I managed to workaround this by editing the file /etc/samba/smb.conf and adding this line under the global configuration:

client min protocol = NT1
server min protocol = NT1

My question is this a bug ? Or is the expected behavior ? Because seens not friendly for a normal user have to edit this file.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What OS are the client systems running, please?

Revision history for this message
Tiago Jonas da Silva (tiagojonasmg) said :
#3

Linux Mint 19.3

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

Can you not connect to SFTP then rather than SMB? It's a bit more native and secure if you aren't using Windows clients...

Revision history for this message
Tiago Jonas da Silva (tiagojonasmg) said :
#5

I don't know how to setup an SFTP. I am more a regular user, i use smb because is what easily available and integrated with the system. But if you can provide me more information about the SFTP i will apreciate.

My main reason to ask this question, is know if the problem that i encounter is bug of Ubuntu 20.04. I think if it is, will be helpful report this bug.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

on the server side run:

sudo apt install openssh-server

The nautilus file manager (I'm guessing Mint uses that too) can connect to SFTP. Use your Ubuntu username and password to authenticate.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#7

I suggest you report a bug with samba too

Revision history for this message
Tiago Jonas da Silva (tiagojonasmg) said :
#9

Thanks actionparsnip, that solved my question.