URL: https://github.com/freeipa/freeipa/pull/5523
Author: flo-renaud
 Title: #5523: [Backport][ipa-4-9] Update samba configuration on IPA master to 
explicitly use 'server role' setting
Action: opened

PR body:
"""
This PR was opened automatically because PR #5519 was pushed to master and 
backport to ipa-4-9 is required.
"""

To pull the PR as Git branch:
git remote add ghfreeipa https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/5523/head:pr5523
git checkout pr5523
From 727f69fce3b7849353ced5a5b8b12dbee92a92a9 Mon Sep 17 00:00:00 2001
From: Antonio Torres <[email protected]>
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 <[email protected]>
---
 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 1370b1e1441..c55a0c3079e 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
_______________________________________________
FreeIPA-devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]

Reply via email to