summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-replica-install
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-10-21 15:25:21 -0400
committerMartin Kosek <mkosek@redhat.com>2011-11-16 10:26:35 +0100
commit8be0d84a599be48e837d498cec45d08cbccd3a03 (patch)
tree8ba82f1f22e39623204bd7b979c2f48129ada653 /install/tools/ipa-replica-install
parent70cb8bf35550189ebaed4fe088aad653ed0781aa (diff)
downloadfreeipa-8be0d84a599be48e837d498cec45d08cbccd3a03.tar.gz
freeipa-8be0d84a599be48e837d498cec45d08cbccd3a03.tar.xz
freeipa-8be0d84a599be48e837d498cec45d08cbccd3a03.zip
Don't check for 389-instances.
We no longer need to enforce that no 389-ds instances exist on an IPA server. Checking that the ports exist should be enough. This used to be one mechanism we used to check to see if IPA was already installed. We have a better mechanism now. https://fedorahosted.org/freeipa/ticket/1735
Diffstat (limited to 'install/tools/ipa-replica-install')
-rwxr-xr-xinstall/tools/ipa-replica-install19
1 files changed, 0 insertions, 19 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install
index 9fddb7584..18a6c4a14 100755
--- a/install/tools/ipa-replica-install
+++ b/install/tools/ipa-replica-install
@@ -119,7 +119,6 @@ def set_owner(config, dir):
os.chown(dir, pw.pw_uid, pw.pw_gid)
def install_replica_ds(config):
- dsinstance.check_existing_installation()
dsinstance.check_ports()
# if we have a pkcs12 file, create the cert db from
@@ -249,24 +248,6 @@ def install_dns_records(config, options):
object.__setattr__(api.Backend.ldap2, 'ldap_uri', cur_uri)
def check_dirsrv():
- serverids = dsinstance.check_existing_installation()
- if serverids:
- print ""
- print "An existing Directory Server has been detected."
- if not ipautil.user_input("Do you wish to remove it and create a new one?", False):
- print ""
- print "Only a single Directory Server instance is allowed on an IPA"
- print "server, the one used by IPA itself."
- sys.exit(1)
-
- try:
- ipaservices.knownservices.dirsrv.stop()
- except:
- pass
-
- for serverid in serverids:
- dsinstance.erase_ds_instance_data(serverid)
-
(ds_unsecure, ds_secure) = dsinstance.check_ports()
if not ds_unsecure or not ds_secure:
print "IPA requires ports 389 and 636 for the Directory Server."