Add replication related acis to all replicas

Fixes: https://fedorahosted.org/freeipa/ticket/617
This commit is contained in:
Simo Sorce
2010-12-11 11:02:08 -05:00
parent 2cb53ec8d0
commit 5884fdf0f8
4 changed files with 17 additions and 12 deletions

View File

@@ -245,6 +245,7 @@ class DsInstance(service.Service):
self.step("adding default layout", self.__add_default_layout)
self.step("adding delegation layout", self.__add_delegation_layout)
self.step("adding replication acis", self.__add_replication_acis)
if hbac_allow:
self.step("creating default HBAC rule allow_all", self.add_hbac)
@@ -278,6 +279,7 @@ class DsInstance(service.Service):
self.__common_setup()
self.step("Setting up initial replication", self.__setup_replica)
self.step("adding replication acis", self.__add_replication_acis)
self.__common_post_setup()
@@ -534,6 +536,9 @@ class DsInstance(service.Service):
def __add_delegation_layout(self):
self._ldap_mod("delegation.ldif", self.sub_dict)
def __add_replication_acis(self):
self._ldap_mod("replica-acis.ldif", self.sub_dict)
def __create_indices(self):
self._ldap_mod("indices.ldif")