summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2010-10-22 16:03:18 -0400
committerSimo Sorce <ssorce@redhat.com>2010-10-28 07:58:31 -0400
commit874dc15c5d8ffb34520e2a90b48e664b00dda695 (patch)
tree33f23c0476b3a331091891e04d54e6178eb436f4 /ipaserver/install/dsinstance.py
parent984942ee49436ee0355c5b9d0f40019d2bfc22d7 (diff)
downloadfreeipa-874dc15c5d8ffb34520e2a90b48e664b00dda695.zip
freeipa-874dc15c5d8ffb34520e2a90b48e664b00dda695.tar.gz
freeipa-874dc15c5d8ffb34520e2a90b48e664b00dda695.tar.xz
ipa-modrdn: Enable plugin to handle krbPrincipalName on renames
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 5941158..26cf3d3 100644
--- a/ipaserver/install/dsinstance.py
+++ b/ipaserver/install/dsinstance.py
@@ -213,6 +213,7 @@ class DsInstance(service.Service):
self.step("enabling ldapi", self.__enable_ldapi)
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("creating indices", self.__create_indices)
self.step("configuring ssl for ds instance", self.__enable_ssl)
self.step("configuring certmap.conf", self.__certmap_conf)
@@ -390,6 +391,10 @@ class DsInstance(service.Service):
self._ldap_mod("uuid-conf.ldif")
self._ldap_mod("uuid-ipauniqueid.ldif", self.sub_dict)
+ def __config_modrdn_module(self):
+ self._ldap_mod("modrdn-conf.ldif")
+ self._ldap_mod("modrdn-krbprinc.ldif", self.sub_dict)
+
def __user_private_groups(self):
if has_managed_entries(self.fqdn, self.dm_password):
self._ldap_mod("user_private_groups.ldif", self.sub_dict)