I can reproduce the problem on a fresh new installed Ubuntu desktop
20.04 :

1) install package samba-common 
   which is currently version 2:4.11.6+dfsg-0ubuntu1 

2) add "client min protocol = NT1" to /etc/samba/smb.conf in [global] section
Note : required to access my NAS which only support SMB v1. It is included in 
my ISP internet box so I can not upgrade it.

3) launch "Files"
Note : Files version is currently 3.36.1.1-stable.

4.1) browse "Other Locations", Windows Network, WORKGROUP,
FREEBOX_SERVER (which is my NAS)

4.2) connect as "Anonymous"

4.3) browse my NAS folder, all files are displayed as Folder, like on
the attached screenshot "files_shown_as_folder.png".

4.4) I can not use any file on my NAS. When clicking on an item, a
message box is displayed « This location could not be displayed. "France
3 Pays de Loire…" could not be found. Perhaps it has recently been
deleted » as shown on the screenshot "can_not_open_file.png".

This was working correctly on Ubuntu 19.10. It looks like the upgrade to v4.11 
of samba cause some problems with file browser accessing SMB v1 share.
I can reproduce the problem on LUbuntu 20.04 with either PCManFM-Qt and Dolhpin 
file browser.

With Ubuntu 20.04 "smbclient", I can correctly access the same share
through SMB v1 and files are correctly displayed as files and usable, cf
attachment "smbclient-works.txt"


** Attachment added: "files_shown_as_folder.png"
   
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1872476/+attachment/5360224/+files/files_shown_as_folder.png

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1872476

Title:
  Shared files are shown as folders

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to