summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-11-23 10:35:49 -0500
committerSimo Sorce <ssorce@redhat.com>2010-11-30 18:26:40 -0500
commit20b1e0a75ec832d906e7f66d2b306aabdce03901 (patch)
tree498f1d324b1ad33221207f53c2fd328d14c71101 /ipaserver/install/dsinstance.py
parent94957c8ddcb8c11cea394b92ce67944adb991b23 (diff)
downloadfreeipa-20b1e0a75ec832d906e7f66d2b306aabdce03901.tar.gz
freeipa-20b1e0a75ec832d906e7f66d2b306aabdce03901.tar.xz
freeipa-20b1e0a75ec832d906e7f66d2b306aabdce03901.zip
Enable EntryUSN plugin by default, with global scope
This will allow clients to use entryusn values to track what changed in the directory regardles of replication delays. Fixes: https://fedorahosted.org/freeipa/ticket/526
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r--ipaserver/install/dsinstance.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py
index ed60c6f8b..d4f0683c0 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -219,6 +219,7 @@ class DsInstance(service.Service):
self.step("configuring uniqueness plugin", self.__set_unique_attrs)
self.step("configuring uuid plugin", self.__config_uuid_module)
self.step("configuring modrdn plugin", self.__config_modrdn_module)
+ self.step("enabling entryUSN plugin", self.__enable_entryusn)
self.step("creating indices", self.__create_indices)
self.step("configuring ssl for ds instance", self.__enable_ssl)
self.step("configuring certmap.conf", self.__certmap_conf)
@@ -357,6 +358,9 @@ class DsInstance(service.Service):
# TODO: roll back here?
logging.critical("Failed to restart the directory server. See the installation log for details.")
+ def __enable_entryusn(self):
+ self._ldap_mod("entryusn.ldif")
+
def __add_memberof_module(self):
self._ldap_mod("memberof-conf.ldif")