summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/dsinstance.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2009-08-26 14:09:36 -0400
committerRob Crittenden <rcritten@redhat.com>2009-08-27 13:36:58 -0400
commitcab55250760ad1633ed115564f83750fd91e230d (patch)
tree059651fa5008c50d17c8b01a1521705bee9f2478 /ipaserver/install/dsinstance.py
parent08fc563212faeca9aa4dc9339acedcac3751ca5d (diff)
downloadfreeipa-cab55250760ad1633ed115564f83750fd91e230d.tar.gz
freeipa-cab55250760ad1633ed115564f83750fd91e230d.tar.xz
freeipa-cab55250760ad1633ed115564f83750fd91e230d.zip
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/
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 d7394e561..061b827bc 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)