Acessing CIFS Shares from RHEL Seamlessly
I'm using RHEL 7.7 and coming from a windows world where we have numerous scripts that seamlessly access CIFS shares hosted on Netapp Filers. The reason they can access the shares is they run in a scheduling tool that runs an agent to host/run the scripts and that agent runs as an Active Directory. This is standard on windows as you can run any services/process as an AD user.
In RHEL I am struggling to see how we can do the same thing? We need to port numerous scripts over to BASH and have them write their output to these CIFS shares. The best I can come up with is to mount the CIFS share in FSTAB with some generic AD user then use Linux permissions to grant access thereafter. This seems hacky and I also lose my audit trail on the CIFS share. Is there a better way to do this?