Unixmen posted a tutorial about automatically mount/unmount a SMB/CIFS Windows share on a CentOS/Fedora/RHEL server.
In This tutorial we will show you How to automatically mount/unmount a SMB/CIFS Windows share on a CentOS/Fedora/RHEL server.How to Mount a SMB/CIFS Share as an Automount on CentOS/Fedora/RHEL
You need to open terminal and follow the instructions below: