summaryrefslogtreecommitdiffstats
path: root/ipaserver/install
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2011-11-18 14:04:09 +0100
committerSumit Bose <sbose@redhat.com>2011-11-22 11:56:07 +0100
commit0d4db3b08a4f728ed2ed7266b04fcae488478dc8 (patch)
treea3a1961f0ae86a17ecaf809ca63196f74dd646a8 /ipaserver/install
parent4b4272848856bbd0ca8c2832e61cd2e958a16f89 (diff)
downloadfreeipa-0d4db3b08a4f728ed2ed7266b04fcae488478dc8.tar.gz
freeipa-0d4db3b08a4f728ed2ed7266b04fcae488478dc8.tar.xz
freeipa-0d4db3b08a4f728ed2ed7266b04fcae488478dc8.zip
activate CLDAP
Diffstat (limited to 'ipaserver/install')
-rw-r--r--ipaserver/install/adtrustinstance.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipaserver/install/adtrustinstance.py b/ipaserver/install/adtrustinstance.py
index 76556ca18..245392183 100644
--- a/ipaserver/install/adtrustinstance.py
+++ b/ipaserver/install/adtrustinstance.py
@@ -256,6 +256,9 @@ class ADTRUSTInstance(service.Service):
conf_fd.write('config backend = registry\n')
conf_fd.close()
+ def __add_cldap_module(self):
+ self._ldap_mod("ipa-cldap-conf.ldif", self.sub_dict)
+
def __write_smb_registry(self):
template = os.path.join(ipautil.SHARE_DIR, "smb.conf.template")
conf = ipautil.template_file(template, self.sub_dict)
@@ -417,6 +420,7 @@ class ADTRUSTInstance(service.Service):
self.__set_smb_ldap_password)
self.step("Adding cifs Kerberos principal", self.__setup_principal)
self.step("Adding admin(group) SIDs", self.__add_admin_sids)
+ self.step("Activation CLDAP plugin", self.__add_cldap_module)
self.step("configuring smbd to start on boot", self.__enable)
if not self.no_msdcs:
self.step("adding special DNS service records", \