summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/httpinstance.py
diff options
context:
space:
mode:
authorSimo Sorce <ssorce@redhat.com>2011-01-05 07:46:30 -0500
committerSimo Sorce <ssorce@redhat.com>2011-01-07 04:54:17 -0500
commit21bf175e0c10b087deb10b8e328a6a6bd549c0f9 (patch)
tree83c43dc5630268fce968fbecd15c754b60d98372 /ipaserver/install/httpinstance.py
parent56f000e9a9330598c5768aee0697c4423500a4fe (diff)
downloadfreeipa-21bf175e0c10b087deb10b8e328a6a6bd549c0f9.tar.gz
freeipa-21bf175e0c10b087deb10b8e328a6a6bd549c0f9.tar.xz
freeipa-21bf175e0c10b087deb10b8e328a6a6bd549c0f9.zip
Allow ipa-dns-install to install with just admin credentials
Do this by creating a common way to attach to the ldap server for each instance. Fixes: https://fedorahosted.org/freeipa/ticket/686
Diffstat (limited to 'ipaserver/install/httpinstance.py')
-rw-r--r--ipaserver/install/httpinstance.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/ipaserver/install/httpinstance.py b/ipaserver/install/httpinstance.py
index 776511fa0..46a5676f2 100644
--- a/ipaserver/install/httpinstance.py
+++ b/ipaserver/install/httpinstance.py
@@ -68,6 +68,10 @@ class HTTPInstance(service.Service):
self.subject_base = subject_base
self.sub_dict = { "REALM" : realm, "FQDN": fqdn, "DOMAIN" : self.domain }
+ # get a connection to the DS
+ self.ldap_connect()
+
+
self.step("disabling mod_ssl in httpd", self.__disable_mod_ssl)
self.step("Setting mod_nss port to 443", self.__set_mod_nss_port)
self.step("Setting mod_nss password file", self.__set_mod_nss_passwordfile)