summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ca.py
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2015-08-20 17:10:23 -0400
committerMartin Basti <mbasti@redhat.com>2015-10-22 13:40:04 +0200
commit958996b9cc55b6e9ecdc23981e79599ec6826b4c (patch)
treeceae0e9646ef714ded7fde6de3c924b214f75942 /ipaserver/install/ca.py
parentaf1f6721e1941af2012d38e1e8f628eef7ec014f (diff)
downloadfreeipa-958996b9cc55b6e9ecdc23981e79599ec6826b4c.tar.gz
freeipa-958996b9cc55b6e9ecdc23981e79599ec6826b4c.tar.xz
freeipa-958996b9cc55b6e9ecdc23981e79599ec6826b4c.zip
Allow ipa-ca-install to use the new promotion code
This makes it possible to install a CA after-the-fact on a server that has been promoted (and has no replica file available). https://fedorahosted.org/freeipa/ticket/2888 Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipaserver/install/ca.py')
-rw-r--r--ipaserver/install/ca.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ipaserver/install/ca.py b/ipaserver/install/ca.py
index 3eb9208c0..303a9da6f 100644
--- a/ipaserver/install/ca.py
+++ b/ipaserver/install/ca.py
@@ -39,8 +39,6 @@ def install_check(standalone, replica_config, options):
if standalone and not options.skip_conncheck:
principal = options.principal
- if principal is None:
- principal = "admin"
replica_conn_check(
replica_config.master_host_name, host_name, realm_name, True,
replica_config.ca_ds_port, options.admin_password,