From dbfc407eef1d9ba2469687c3ffbe7fd8bb111d94 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Tue, 16 Jun 2015 13:22:32 +0200 Subject: BUILD: Store keytabs in /var/lib/sss/keytabs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Make sure the directory is only accessible to the sssd user Reviewed-by: Michal Židek --- Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index a2db8e19f..c21c1f3e9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -72,6 +72,7 @@ systemdconfdir = @systemdconfdir@ logpath = @logpath@ pubconfpath = @pubconfpath@ gpocachepath = @gpocachepath@ +keytabdir = $(sss_statedir)/keytabs pkgconfigdir = $(libdir)/pkgconfig krb5rcachedir = @krb5rcachedir@ sudolibdir = @sudolibpath@ @@ -3295,7 +3296,7 @@ src/sysv/systemd/journal.conf: src/sysv/systemd/journal.conf.in Makefile SSSD_USER_DIRS = \ $(DESTDIR)$(dbpath) \ - $(DESTDIR)$(dbpath)/keytabs \ + $(DESTDIR)$(keytabdir) \ $(DESTDIR)$(mcpath) \ $(DESTDIR)$(pipepath) \ $(DESTDIR)$(pipepath)/private \ @@ -3330,7 +3331,9 @@ if SSSD_USER $(SSSD_USER_DIRS) endif $(INSTALL) -d -m 0700 $(DESTDIR)$(dbpath) $(DESTDIR)$(logpath) \ - $(DESTDIR)$(pipepath)/private + $(DESTDIR)$(pipepath)/private \ + $(DESTDIR)$(keytabdir) \ + $(NULL) $(INSTALL) -d -m 0755 $(DESTDIR)$(mcpath) $(DESTDIR)$(pipepath) \ $(DESTDIR)$(pubconfpath) \ $(DESTDIR)$(pubconfpath)/krb5.include.d $(DESTDIR)$(gpocachepath) -- cgit