diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2013-08-21 12:44:47 -0400 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-08-22 19:29:08 +0200 |
commit | 8340ca480e0fe823441633720d67efc9e4a4bc64 (patch) | |
tree | 0913f1a34803b2684c8adfa207c6086f40991226 /src/util/sss_krb5.h | |
parent | 628f47f0faa5ce5dc0b3790b0dd2f987dddcab19 (diff) | |
download | sssd-8340ca480e0fe823441633720d67efc9e4a4bc64.tar.gz sssd-8340ca480e0fe823441633720d67efc9e4a4bc64.tar.xz sssd-8340ca480e0fe823441633720d67efc9e4a4bc64.zip |
KRB5: Add new #define for collection cache types
Kerberos now supports multiple types of collection caches, not just
DIR: caches. We should add a macro for generic collection behavior
and use that where appropriate.
Diffstat (limited to 'src/util/sss_krb5.h')
-rw-r--r-- | src/util/sss_krb5.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h index 601a8acf9..1c10d4713 100644 --- a/src/util/sss_krb5.h +++ b/src/util/sss_krb5.h @@ -45,7 +45,7 @@ #define KEYTAB_CLEAN_NAME keytab_name ? keytab_name : "default" #if defined HAVE_KRB5_CC_CACHE_MATCH && defined HAVE_KRB5_CC_GET_FULL_NAME -#define HAVE_KRB5_DIRCACHE 1 +#define HAVE_KRB5_CC_COLLECTION 1 #endif const char * KRB5_CALLCONV sss_krb5_get_error_message (krb5_context, @@ -145,9 +145,9 @@ void sss_krb5_get_init_creds_opt_set_canonicalize(krb5_get_init_creds_opt *opts, enum sss_krb5_cc_type { SSS_KRB5_TYPE_FILE, -#ifdef HAVE_KRB5_DIRCACHE +#ifdef HAVE_KRB5_CC_COLLECTION SSS_KRB5_TYPE_DIR, -#endif /* HAVE_KRB5_DIRCACHE */ +#endif /* HAVE_KRB5_CC_COLLECTION */ SSS_KRB5_TYPE_UNKNOWN }; |