How to set global settings for Samba configuration

Hi all, we need to enable allow insecure wide links, which is only possible by adding this as a global Samba setting.

so if we write this manually /etc/samba/smb.conf this will be obvious overwritten by the next update. If we would instead add it in /etc/univention/templates/files/etc/samba/smb.conf.d/10global, this will be overwritten with the next release of UCS as well.
test with ucr set samba/allow_insecure_wide_links= yes have not been successfully either.

so where shall we add

[global]
allow insecure wide links = yes

in order to have this function enabled.
Thanks for your reply

Daniel

Hey,

you can set arbitrary global options via UCR variables samba/global/options/<your option>. In your case:

ucr set 'samba/global/options/allow insecure wide links'=yes

Don’t forget to reload the service afterwards.

Kind regards
mosu

1 Like

Hi Moritz, (mosu)
thanks very much for your great support. !!!

Best Regards
Daniel

Mastodon