mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-13 01:31:56 -06:00
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:
parent
73fc15556d
commit
7cd3b1bfa7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user