From f8c88041e5597cbc5c83082fb85d5893898b0344 Mon Sep 17 00:00:00 2001 From: Stephen Gallagher Date: Mon, 18 Jun 2012 10:16:49 -0400 Subject: [PATCH] Fix accidental disabling of the DIR cache support --- ...ix-typo-breaking-DIR-cache-detection.patch | 28 +++++++++++++++++++ sssd.spec | 7 ++++- 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 0001-Fix-typo-breaking-DIR-cache-detection.patch diff --git a/0001-Fix-typo-breaking-DIR-cache-detection.patch b/0001-Fix-typo-breaking-DIR-cache-detection.patch new file mode 100644 index 0000000..ec8c728 --- /dev/null +++ b/0001-Fix-typo-breaking-DIR-cache-detection.patch @@ -0,0 +1,28 @@ +From 6adec5daccb1b942c9bb284df11792f50c564ee2 Mon Sep 17 00:00:00 2001 +From: Stephen Gallagher +Date: Mon, 18 Jun 2012 10:04:11 -0400 +Subject: [PATCH] Fix typo breaking DIR cache detection + +--- + src/util/sss_krb5.h | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h +index 4f2e67a7ff41e11bb2e6273196a74aecca626d3e..d56b3bdd53f6ff15cd0ac027e248c96d0775cded 100644 +--- a/src/util/sss_krb5.h ++++ b/src/util/sss_krb5.h +@@ -41,11 +41,9 @@ + #define KERBEROS_PWEXPIRE_WARNING_TIME (7 * 24 * 60 * 60) + #define KEYTAB_CLEAN_NAME keytab_name ? keytab_name : "default" + +-#if 0 + #if defined HAVE_KRB5_CC_CACHE_MATCH && defined HAVE_KRB5_CC_GET_FULL_NAME + #define HAVE_KRB5_DIRCACHE 1 + #endif +-#endif + + const char * KRB5_CALLCONV sss_krb5_get_error_message (krb5_context, + krb5_error_code); +-- +1.7.10.2 + diff --git a/sssd.spec b/sssd.spec index 0c33057..aea5366 100644 --- a/sssd.spec +++ b/sssd.spec @@ -16,7 +16,7 @@ Name: sssd Version: 1.9.0 -Release: 5%{?dist}.beta2 +Release: 6%{?dist}.beta2 Group: Applications/System Summary: System Security Services Daemon License: GPLv3+ @@ -26,6 +26,8 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) ### Patches ### +Patch0001: 0001-Fix-typo-breaking-DIR-cache-detection.patch + ### Dependencies ### Conflicts: selinux-policy < 3.10.0-46 @@ -489,6 +491,9 @@ fi %postun -n libipa_hbac -p /sbin/ldconfig %changelog +* Mon Jun 18 2012 Stephen Gallagher - 1.9.0-6.beta2 +- Fix accidental disabling of the DIR cache support + * Fri Jun 15 2012 Stephen Gallagher - 1.9.0-5.beta2 - New upstream release 1.9.0 beta 2 - https://fedorahosted.org/sssd/wiki/Releases/Notes-1.9.0beta2