Linux Shout published a tutorial about installing SAMBA on Ubuntu 22.04 LTS Jammy Linux.
How to install SAMBA on Ubuntu 22.04 LTS Jammy Linux
Install and configure SAMBA on Ubuntu 22.04 LTS Jammy JellyFish Linux to share files and folders with Windows 7/10/11.
How to install SAMBA on Ubuntu 22.04 LTS Jammy Linux