summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-12-11 11:02:08 -0500
committerSimo Sorce <ssorce@redhat.com>2010-12-21 17:28:13 -0500
commit5884fdf0f864d67fe7ee48d29f3c023882bc2891 (patch)
treea4e48a0aeff41ead46e0a4e693d27da6f58b63e8 /ipaserver/install/dsinstance.py
parent2cb53ec8d0271c8db0f09203fdc60878a66cbdb6 (diff)
downloadfreeipa-5884fdf0f864d67fe7ee48d29f3c023882bc2891.zip
freeipa-5884fdf0f864d67fe7ee48d29f3c023882bc2891.tar.gz
freeipa-5884fdf0f864d67fe7ee48d29f3c023882bc2891.tar.xz
Add replication related acis to all replicas
Fixes: https://fedorahosted.org/freeipa/ticket/617
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index 3dbedfb..73bc8b0 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -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")