Update samba configuration on IPA master to explicitly use 'server role' setting

The default for this setting is 'auto', which may affect
IPA Samba configuration on future Samba versions. By explicitly
setting this parameter in the template, future manual
intervention is prevented.

Fixes: https://pagure.io/freeipa/issue/8452
Signed-off-by: Antonio Torres <antorres@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Antonio Torres authored and Florence Blanc-Renaud committed 2021-02-04 14:19:16 +01:00
1 parent d0269f2367
commit d6ccb9b5b3
1 file changed
+1
+1
View File
@@ -5,6 +5,7 @@ realm = $REALM
kerberos method = dedicated keytab
dedicated keytab file = /etc/samba/samba.keytab
create krb5 conf = no
server role = CLASSIC PRIMARY DOMAIN CONTROLLER
security = user
domain master = yes
domain logons = yes