I didn’t think about your clients. With RSAT tool you can lodge a logon script for every user at AD, but I don’t know if linux clients could work with this.
The solution for windows clients is from @mrmarkuz
How do I setup logon.bat scripts for my AD users? - #2 by mrmarkuz
Perhaps Markus knows something more about it.