https://superuser.com/questions/1558936/what-is-the-method-to-permanent…
"A work around is to write a script that will determine if the feature is enable or disabled, if it's disabled then it will be installed and a reboot will be performed, if it's enabled it will do nothing. You can run this script when the user logs into their account. However, this is a huge security risk, you really should configure your Linux servers to use SMBv3 –"