summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Kosek <mkosek@redhat.com>2014-01-22 16:08:51 +0100
committerMartin Kosek <mkosek@redhat.com>2014-01-22 17:00:46 +0100
commitb7f1531262723d9a9c50bedad21c3b3cc51e34e9 (patch)
tree33a46148fecaf7ad0a524111a8693fca5c46dfbb
parentf49c26db2c38e5b60a6be990b95c2926ecfa6247 (diff)
downloadfreeipa-b7f1531262723d9a9c50bedad21c3b3cc51e34e9.tar.gz
freeipa-b7f1531262723d9a9c50bedad21c3b3cc51e34e9.tar.xz
freeipa-b7f1531262723d9a9c50bedad21c3b3cc51e34e9.zip
httpd should destroy all CCACHEs
Use "kdestroy -A" command to destroy all CCACHEs, both the primary and the non-primary ones to make sure that the non-primary ones are not used later. https://fedorahosted.org/freeipa/ticket/4084
-rw-r--r--ipaserver/install/httpinstance.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/httpinstance.py b/ipaserver/install/httpinstance.py
index 12cb2e013..34e58fbb8 100644
--- a/ipaserver/install/httpinstance.py
+++ b/ipaserver/install/httpinstance.py
@@ -218,7 +218,7 @@ class HTTPInstance(service.Service):
# Clean up existing ccache
# Make sure that empty env is passed to avoid passing KRB5CCNAME from
# current env
- ipautil.run(['kdestroy'], runas='apache', raiseonerr=False, env={})
+ ipautil.run(['kdestroy', '-A'], runas='apache', raiseonerr=False, env={})
def __configure_http(self):
target_fname = '/etc/httpd/conf.d/ipa.conf'