summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/installutils.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-12-09 08:18:21 +0100
committerTomas Babej <tbabej@redhat.com>2015-12-11 18:44:13 +0100
commit8d7f67e08c8320712321501451e4a444b89a4423 (patch)
treeced31cce2bf2c83a8d1e3106d6b72f8b5c9bff80 /ipaserver/install/installutils.py
parent00f591d4e93cfe1f6f020a1c708a3d90b5b34288 (diff)
downloadfreeipa-8d7f67e08c8320712321501451e4a444b89a4423.tar.gz
freeipa-8d7f67e08c8320712321501451e4a444b89a4423.tar.xz
freeipa-8d7f67e08c8320712321501451e4a444b89a4423.zip
replica install: add remote connection check over API
Add server_conncheck command which calls ipa-replica-conncheck --replica over oddjob. https://fedorahosted.org/freeipa/ticket/5497 Reviewed-By: Martin Babinsky <mbabinsk@redhat.com> Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipaserver/install/installutils.py')
-rw-r--r--ipaserver/install/installutils.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py
index 156c8a5eb..bdbe2e38b 100644
--- a/ipaserver/install/installutils.py
+++ b/ipaserver/install/installutils.py
@@ -1103,18 +1103,6 @@ def realm_to_ldapi_uri(realm_name):
return 'ldapi://' + ldapurl.ldapUrlEscape(socketname)
-def enable_and_start_oddjobd(sstore):
- oddjobd = services.service('oddjobd')
- sstore.backup_state('oddjobd', 'running', oddjobd.is_running())
- sstore.backup_state('oddjobd', 'enabled', oddjobd.is_enabled())
-
- try:
- oddjobd.enable()
- oddjobd.start()
- except Exception as e:
- root_logger.critical("Unable to start oddjobd: {0}".format(str(e)))
-
-
def install_service_keytab(principal, server, path, force_service_add=False):
try: