I think I have seen somewhere in a post here that if you have system-wide credentials for a samba filesystem mounted via /etc/fstab, there’s now somewhere in /etc a designated ... .d directory (you might have to create it) where you can put stuff like this, and samba automatically loads from there without the need for giving a path, just the filename is enough.
Unfortunately, I cannot find this post anymore. Could someone confirm this and point me to some more info? The docs for samba are a mess, their website has a solid 2000s feel and everything you find in the net is stale information for ages-old versions.
So, I appeal to the shared wisdom of the EndeavourOS users: Can you help me here?