From d6ccb9b5b3d7e000e27247479bcb1cc01ce61d93 Mon Sep 17 00:00:00 2001 From: Antonio Torres Date: Wed, 3 Feb 2021 11:47:22 +0100 Subject: [PATCH] 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 Reviewed-By: Alexander Bokovoy --- install/share/smb.conf.registry.template | 1 + 1 file changed, 1 insertion(+) diff --git a/install/share/smb.conf.registry.template b/install/share/smb.conf.registry.template index 1370b1e14..c55a0c307 100644 --- a/install/share/smb.conf.registry.template +++ b/install/share/smb.conf.registry.template @@ -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