summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/bindinstance.py
diff options
context:
space:
mode:
authorMartin Babinsky <mbabinsk@redhat.com>2015-10-09 18:08:38 +0200
committerMartin Basti <mbasti@redhat.com>2015-11-11 15:39:42 +0100
commit117bf5af8c5ffa63dc380cb331843396ce8b8286 (patch)
treef41a26b39e78bea6d08e3c17b79db52e19977204 /ipaserver/install/bindinstance.py
parent0152d16820e527060be3363f590c49544b51b710 (diff)
downloadfreeipa-117bf5af8c5ffa63dc380cb331843396ce8b8286.tar.gz
freeipa-117bf5af8c5ffa63dc380cb331843396ce8b8286.tar.xz
freeipa-117bf5af8c5ffa63dc380cb331843396ce8b8286.zip
remove Kerberos authenticators when installing/uninstalling service instance
each service possessing Kerberos keytab/ccache will now perform their removal before service principal creation and during service uninstall https://fedorahosted.org/freeipa/ticket/5243 Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Simo Sorce <ssorce@redhat.com>
Diffstat (limited to 'ipaserver/install/bindinstance.py')
-rw-r--r--ipaserver/install/bindinstance.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/ipaserver/install/bindinstance.py b/ipaserver/install/bindinstance.py
index 1d98926b2..6bfde83de 100644
--- a/ipaserver/install/bindinstance.py
+++ b/ipaserver/install/bindinstance.py
@@ -1203,3 +1203,6 @@ class BindInstance(service.Service):
if named_regular_running:
self.named_regular.start()
+
+ installutils.remove_keytab(paths.NAMED_KEYTAB)
+ installutils.remove_ccache(run_as='named')