Global SMB parms

I’m working on setting up SSH login with keys for directory services users. I have set up Private SMB shares, and correspondingly permissions and it works great except for one thing!

On our box updated to 24.10 the setting I have to set the users homedir doesn’t persist.

I set it using net conf setparm global “template homedir” /my/home/path/%U which work great and shows in net conf list. But after a reboot it’s cleared out.

Is there a new way to set persistent global share parameters?

Just wanted to update since I was able to find the right midclt command reading through all the middleware python.

midclt call smb.update ‘{“smb_options”: “template homedir = /my/home/path/%U”}’

SSH keys for AD users now work.