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/providers/krb5/krb5_common.c | |
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/providers/krb5/krb5_common.c')
-rw-r--r-- | src/providers/krb5/krb5_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_common.c b/src/providers/krb5/krb5_common.c index 0e1c10bec..e56dc6245 100644 --- a/src/providers/krb5/krb5_common.c +++ b/src/providers/krb5/krb5_common.c @@ -210,12 +210,12 @@ errno_t check_and_export_options(struct dp_option *opts, } break; -#ifdef HAVE_KRB5_DIRCACHE +#ifdef HAVE_KRB5_CC_COLLECTION case SSS_KRB5_TYPE_DIR: DEBUG(SSSDBG_CONF_SETTINGS, ("ccache is of type DIR\n")); krb5_ctx->cc_be = &dir_cc; break; -#endif +#endif /* HAVE_KRB5_CC_COLLECTION */ default: DEBUG(SSSDBG_OP_FAILURE, ("Unknown ccname database\n")); |