From 21bf175e0c10b087deb10b8e328a6a6bd549c0f9 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 5 Jan 2011 07:46:30 -0500 Subject: 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 --- ipaserver/install/httpinstance.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ipaserver/install/httpinstance.py') diff --git a/ipaserver/install/httpinstance.py b/ipaserver/install/httpinstance.py index 776511fa..46a5676f 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) -- cgit