Here's my notes from testing the Samba portion of cockpit file sharing.
Any questions let me know.
Physical: Fedora 35 Server
Virtual: Windows 10 build 20H2
Samba installed and running. (smb & nmb)
add to smb.conf
include = registry
#added for cockpitfile sharing
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
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
Mount in Windows explorer and test.
After the above is met it works great in Windows 10.