summaryrefslogtreecommitdiffstats
path: root/contrib/sssd.spec.in
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2017-04-21 10:31:25 +0200
committerJakub Hrozek <jhrozek@redhat.com>2017-07-25 10:50:24 +0200
commit614545382c4ac75d85fb8c80917cc675bc0ec580 (patch)
tree9340dc1e489c4aeeb361b9214fc4d59f2b0ad3f8 /contrib/sssd.spec.in
parenta406b52a0d20e0ec502f52d63dee293636d1443a (diff)
downloadsssd-614545382c4ac75d85fb8c80917cc675bc0ec580.tar.gz
sssd-614545382c4ac75d85fb8c80917cc675bc0ec580.tar.xz
sssd-614545382c4ac75d85fb8c80917cc675bc0ec580.zip
KCM: Modify krb5 snippet file kcm_default_ccache
The file kcm_default_ccache must enable KCM ccache by default without any modification of the file. /etc/krb5.conf.d/ is fedora/el7 specific and it is not allowed to enable or start systemd services in scriptlets. It would result in broken krb5 configuration. Therefore krb5 configuration snippet was moved from /etc/krb5.conf.d/ -> /usr/share/sssd-kcm. And each downstream distribution should enable systemd services + change krb5 configuration in it's own way. Reviewed-by: Stephen Gallagher <sgallagh@redhat.com> Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
Diffstat (limited to 'contrib/sssd.spec.in')
-rw-r--r--contrib/sssd.spec.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index fb175ae7a..cb1a09c42 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -1264,8 +1264,8 @@ done
%if (0%{?with_kcm} == 1)
%files kcm
%{_libexecdir}/%{servicename}/sssd_kcm
-%dir %{_sysconfdir}/krb5.conf.d
-%config(noreplace) %{_sysconfdir}/krb5.conf.d/kcm_default_ccache
+%dir %{_datadir}/sssd-kcm
+%{_datadir}/sssd-kcm/kcm_default_ccache
%{_unitdir}/sssd-kcm.socket
%{_unitdir}/sssd-kcm.service
%{_mandir}/man8/sssd-kcm.8*