diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-08-26 14:09:36 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-08-27 13:36:58 -0400 |
commit | cab55250760ad1633ed115564f83750fd91e230d (patch) | |
tree | 059651fa5008c50d17c8b01a1521705bee9f2478 /ipaserver/install/dsinstance.py | |
parent | 08fc563212faeca9aa4dc9339acedcac3751ca5d (diff) | |
download | freeipa-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.py | 4 |
1 files changed, 4 insertions, 0 deletions
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) |