From cab55250760ad1633ed115564f83750fd91e230d Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 26 Aug 2009 14:09:36 -0400 Subject: Enable ldapi connections in the management framework. If you don't want to use ldapi then you can remove the ldap_uri setting in /etc/ipa/default.conf. The default for the framework is to use ldap://localhost:389/ --- ipaserver/install/dsinstance.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipaserver/install/dsinstance.py') diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index d7394e56..061b827b 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -169,6 +169,7 @@ class DsInstance(service.Service): self.step("enabling memberof plugin", self.__add_memberof_module) self.step("enabling referential integrity plugin", self.__add_referint_module) self.step("enabling winsync plugin", self.__add_winsync_module) + self.step("enabling ldapi", self.__enable_ldapi) self.step("configuring uniqueness plugin", self.__set_unique_attrs) self.step("creating indices", self.__create_indices) self.step("configuring ssl for ds instance", self.__enable_ssl) @@ -374,6 +375,9 @@ class DsInstance(service.Service): shutil.copyfile(ipautil.SHARE_DIR + "certmap.conf.template", config_dirname(self.serverid) + "certmap.conf") + def __enable_ldapi(self): + self._ldap_mod("ldapi.ldif", self.sub_dict) + def change_admin_password(self, password): logging.debug("Changing admin password") dirname = config_dirname(self.serverid) -- cgit