Question
I want to change a [global]
samba setting, but any change in /etc/samba/smb.conf
will get reverted during an upgrade, because the file is auto-generated from Univention template files.
How can I make my changes permanent?
Answer
You can set any [global]
samba setting via UCR variables. Here are a few examples:
ucr set 'samba/global/options/restrict anonymous'=2
ucr set 'samba/global/options/dns zone transfer clients allow'='127.0.0.1'