summaryrefslogtreecommitdiffstats
path: root/daemons
diff options
context:
space:
mode:
authorMartin Basti <mbasti@redhat.com>2015-09-01 16:17:16 +0200
committerMartin Basti <mbasti@redhat.com>2015-09-03 18:15:58 +0200
commite7a876d88a0ed07de69d9654ebdbf8ebb7bda364 (patch)
treeb2aa24ee8f4de50d29821dc032acd540807bad1b /daemons
parentb6435f2cc6fb803869776c57c7bc9b8ebffd92fd (diff)
downloadfreeipa-e7a876d88a0ed07de69d9654ebdbf8ebb7bda364.tar.gz
freeipa-e7a876d88a0ed07de69d9654ebdbf8ebb7bda364.tar.xz
freeipa-e7a876d88a0ed07de69d9654ebdbf8ebb7bda364.zip
DNSSEC: remove ccache and keytab of ipa-ods-exporter
Reusing old ccache after reinstall causes authentication error. And prevents DNSSEC from working. Related to ticket: https://fedorahosted.org/freeipa/ticket/5273 Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'daemons')
-rwxr-xr-xdaemons/dnssec/ipa-ods-exporter2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/dnssec/ipa-ods-exporter b/daemons/dnssec/ipa-ods-exporter
index 4c7de851b..49be502d2 100755
--- a/daemons/dnssec/ipa-ods-exporter
+++ b/daemons/dnssec/ipa-ods-exporter
@@ -483,7 +483,7 @@ ipalib.api.finalize()
# Kerberos initialization
PRINCIPAL = str('%s/%s' % (DAEMONNAME, ipalib.api.env.host))
log.debug('Kerberos principal: %s', PRINCIPAL)
-ccache_name = os.path.join(WORKDIR, 'ipa-ods-exporter.ccache')
+ccache_name = paths.IPA_ODS_EXPORTER_CCACHE
try:
ipautil.kinit_keytab(PRINCIPAL, paths.IPA_ODS_EXPORTER_KEYTAB, ccache_name,