First , you need to share your files in MacOS

Do the following things in redhat
yum install samba-client cifs-utils

edit this file : /etc/fstab
ad this line

then run: mount -a

if you receive the error

then change the line to (vers=3.0)