Update of Cockpit to improve Support for managing Samba & NFS shares
Trigger: https://ask.fedoraproject.org/t/stuck-setting-up-a-local-file-server/18772
Solutions: https://lists.fedoraproject.org/archives/list/server@lists.fedoraproject.org/thread/ZOW5IK7GDML2JQ6K2RQ4NYUZLRQOP3VP/
https://lists.fedoraproject.org/archives/list/server@lists.fedoraproject.org/thread/PYAKX4JN4D7NGPRVTMFB5WXDAAEMVUL2/
A Late Change Proposal created: https://fedoraproject.org/wiki/Changes/cockpit-file-sharing-2-4-1-5
Next Step: If accepted, we need a test plan otherwise, prepare for F37
Update: Change Proposal was accepted and is now part of F36. Initial version is 2.4.1-6 (2022-01-19)
Metadata Update from @pboy: - Issue tagged with: in progress, meeting
Issue tagged with: in progress
Test planning
In the IRC meeting it was agreed:
First brief check and notes on installation Base: Fedora-Server-dvd-x86_64-36-20220218.n.0.iso
[…]# dnf install cockpit-file-sharing
First findings
Metadata Update from @pboy: - Issue untagged with: meeting
Dependencies: Samba installed and running. (smb & nmb)
add to smb.conf:
include = registry
reload smb if it's already running.
After the dependencies are met its close to a normal Samba share setup. Some steps are done at the terminal and the rest is done in Cockpit File Sharing.
Terminal: Terminal in cockpit with root privileges.
Create the directory used for sharing. Give it the permission for the user or group. If SELinux is enabled add the samba_share_t context to the directory. If firewalld is running add the samba service to it.
At this point you can use File Sharing to configure the share. (directory, name, permissions, etc.) You can even reset or create the password for the user with access to the share.
Mount in Windows explorer and test.
After the above is met it works great in Windows 10.
Metadata Update from @pboy: - Issue tagged with: meeting
Cockpit File Sharing is now part of F36 distribution. Closed as completed.
Metadata Update from @pboy: - Issue untagged with: in progress, meeting - Issue status updated to: Closed (was: Open)
Log in to comment on this ticket.