From 7cd3b1bfa76c846b7ffec18e380b71a6617d97ec Mon Sep 17 00:00:00 2001 From: Martin Babinsky Date: Nov 11 2016 11:17:25 +0000 Subject: 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 --- diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index bee501a..9b44598 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