summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2016-11-10 14:50:13 +0100
committerJan Cholasta <jcholast@redhat.com>2016-11-11 12:17:25 +0100
commit7cd3b1bfa76c846b7ffec18e380b71a6617d97ec (patch)
tree5c857cffb538d74f535162482ccbd3c8cd8b3f5d
parent73fc15556d28706b0b9a10480fee8d56b2be9ab7 (diff)
downloadfreeipa-7cd3b1bfa76c846b7ffec18e380b71a6617d97ec.tar.gz
freeipa-7cd3b1bfa76c846b7ffec18e380b71a6617d97ec.tar.xz
freeipa-7cd3b1bfa76c846b7ffec18e380b71a6617d97ec.zip
installutils: remove 'install_service_keytab' function
This functionality was merged to Service class and is not longer used anywhere. https://fedorahosted.org/freeipa/ticket/6405 Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
-rw-r--r--ipaserver/install/installutils.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py
index bee501a6e..9b445985f 100644
--- a/ipaserver/install/installutils.py
+++ b/ipaserver/install/installutils.py
@@ -1143,17 +1143,6 @@ def realm_to_ldapi_uri(realm_name):
return 'ldapi://' + ldapurl.ldapUrlEscape(socketname)
-def install_service_keytab(api, principal, server, path,
- force_service_add=False):
- try:
- api.Command.service_add(principal, force=force_service_add)
- except errors.DuplicateEntry:
- pass
-
- args = [paths.IPA_GETKEYTAB, '-k', path, '-p', principal, '-s', server]
- ipautil.run(args)
-
-
def check_creds(options, realm_name):
# Check if ccache is available