This can be solved on the Mac end of things. Just enter the following command on your Mac:
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE
*Important: just remember to restart Finder as well:
killall Finder
Source: https://www.techjunkie.com/stop-ds-store-files-mac-network/