Bug 2243137 - Password-protected network File Sharing feature does not work at all
Summary: Password-protected network File Sharing feature does not work at all
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: gvfs
Version: 39
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ondrej Holy
QA Contact: Fedora Extras Quality Assurance
URL: https://gitlab.gnome.org/GNOME/nautil...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-10-10 22:16 UTC by triguy
Modified: 2024-02-14 07:42 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-02-14 07:42:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME gvfs issues 694 0 None opened Nautilus cannot mount password protected network file shares made through GNOME Control Center 2023-10-12 07:41:59 UTC

Description triguy 2023-10-10 22:16:57 UTC
GNOME and by proxy Fedora, ship a network "File Sharing" feature. It is accessible via the banner within the "Public" folder in Nautilus, and from within GNOME Control Panel, located under the `Sharing`>`File Sharing` section. You can just toggle a switch and any users on the local network can send and recieve files from your host computer.

However, currently the password protection feature is completely broken and unusable. It is not possible to mount a network share in Fedora Linux (Workstation Edition) if it has a password. The share MUST remain unprotected for it to work.

Please, see the "Additional Details" section of this report for links to other resources related to this topic.

Reproducible: Always

Steps to Reproduce:
1. Open "Files"
2. Navigate to "~/Public"
3. Click "Sharing Settings"
4. In the popup "Settings" window, click "File Sharing"
5. Toggle the "Password" option to "ON" and enter a password
6. Toggle the "File Sharing" feature on by toggling the switch corresponding to your local network at the bottom under "Networks"
7. On the same computer (or another computer on the same network), open "Files"
8. In the left navigation panel, click "+ Other Locations"
9. Select the network mount point you just created
10. Enter the username "guest" as prompted, and the password you created
11. To verify the "File Sharing" feature isn't broken altogether, go back to the "Settings" window, and disable password protection
12. Try re-mounting the drive following steps 7-10
Actual Results:  
You will receive one of many errors. You will also recieve additional errors if you click the provided URL displayed in the "Settings" app in the "File Sharing" modal. Furthermore, attempting to copy and paste the URL into the address bar of "Files" by pressing Ctrl+L and pasting also has a different error.

Expected Results:  
Entering the username "guest" and the password you provided when making the network share should be enough to correctly mount the network share.

All dependencies for this feature are met according to the official documentation which can be found in the "Help" app under Help>Settings>Sharing Settings.

Docs can also be found here: 

https://help.gnome.org/users/gnome-help/stable/sharing-personal.html.en
https://help.gnome.org/users/gnome-user-share/stable/gnome-user-share.html

Related issue trackers:

https://gitlab.gnome.org/GNOME/nautilus/issues/3132
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/2694
https://discourse.gnome.org/t/17564


Note You need to log in before you can comment on or make changes to this bug.