Samba is an open source suite of tools that implement CIFS/SMB filesharing and MS Active Directory via BSD and GNU/Linux


    sudo yum install samba samba-client
    sudo systemctl enable smb
    sudo systemctl enable nmb
    sudo firewall-cmd --permanent --add-service=samba
    sudo firewall-cmd --reload


Make all changes to /etc/samba/smb.conf unless otherwise stated.

The line numbers are roughly where the existing parameter should be found. Not necessarily a guarantee for cross EL platforms to be exact, as Red Hat and Oracle do tweak things to suit their customer service departments' ease.

Jump to end of file and add this if you wish to have a free for all folder.  This is where you will put all your share directives.  You can, of course,disable the existing ones or modify them appropriately too.  For the following example there is also the need for a guest linux account that needs to be made.  Edit the commands as needed, including adding any groups that the user needs to be in.