From 921b13a1c454aabc5dec6e7f33f7ae3ffa80febf Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Thu, 19 Nov 2009 17:53:38 +0100 Subject: Read KDC info from file instead from environment Then name or IP adress of the KDC is written into the pubconf directory into a file named kdcinfo.REALM. The locator plugin will then read this file and pass the data to the kerberos libraries. --- contrib/sssd.spec.in | 3 +++ 1 file changed, 3 insertions(+) (limited to 'contrib/sssd.spec.in') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 173d049f..1251fe5f 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -28,6 +28,7 @@ Requires(postun): /sbin/service %define sssdstatedir %{_localstatedir}/lib/sss %define dbpath %{sssdstatedir}/db %define pipepath %{sssdstatedir}/pipes +%define pubconfpath %{sssdstatedir}/pubconf ### Build Dependencies ### @@ -80,6 +81,7 @@ KRB5_LIBS=-lkrb5 \ --without-tests \ --with-db-path=%{dbpath} \ --with-pipe-path=%{pipepath} \ + --with-pubconf-path=%{pubconfpath} \ --with-init-dir=%{_initrddir} \ --enable-nsslibdir=/%{_lib} @@ -138,6 +140,7 @@ rm -rf $RPM_BUILD_ROOT %dir %{sssdstatedir} %attr(700,root,root) %dir %{dbpath} %attr(755,root,root) %dir %{pipepath} +%attr(755,root,root) %dir %{pubconfpath} %attr(700,root,root) %dir %{pipepath}/private %attr(750,root,root) %dir %{_var}/log/%{name} %attr(700,root,root) %dir %{_sysconfdir}/sssd -- cgit