A new user needs to be added as a samba user in Linux to be able to access the samba share. The samba user can then connect to the Samba server using a samba password and access the shared resources. In this tutorial, we will walk you the procedure of adding a samba user
Source: How to Add a Samba User in Linux (LinOxide)
This is a step by step beginner guide shows how to share a folder over local network via SMB/CIFS protocol in Ubuntu 20.04 Gnome desktop.
Source: How to Share A Folder via SMB/CIFS Protocol in Ubuntu 20.04 | UbuntuHandbook
Samba is re-implementation of the SMB/CIFS networking protocol, samba provides cross-platform file and print services sharing for various Microsoft Windows, OS X and Linux file sharing.
Full article here:
How to Set up Samba Server for Windows, Linux and OS X File Sharing on Raspberry Pi (Tech Rapid)