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>
This commit is contained in:
Martin Babinsky 2016-11-10 14:50:13 +01:00 committed by Jan Cholasta
parent 73fc15556d
commit 7cd3b1bfa7

View File

@ -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