mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-09-03 20:52:56 -05:00
Update certmap.conf on IPA upgrades
This brings /etc/dirsrv/slapd-REALM/certmap.conf under IPA control. The file is overwritten on upgrades. This ensures that the cert for the ipaca user is recognized when ipa-ca-install is run on older masters.
This commit is contained in:
committed by
Martin Kosek
parent
d157413675
commit
5fa3455764
@@ -606,7 +606,7 @@ class DsInstance(service.Service):
|
||||
shutil.copyfile(ipautil.SHARE_DIR + "certmap.conf.template",
|
||||
config_dirname(self.serverid) + "certmap.conf")
|
||||
installutils.update_file(config_dirname(self.serverid) + "certmap.conf",
|
||||
'domain_name', self.realm_name)
|
||||
'$REALM', self.realm_name)
|
||||
|
||||
def __enable_ldapi(self):
|
||||
self._ldap_mod("ldapi.ldif", self.sub_dict)
|
||||
|
||||
Reference in New Issue
Block a user