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/tests/krb5_child-test.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/tests/krb5_child-test.c')
-rw-r--r-- | src/tests/krb5_child-test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/krb5_child-test.c b/src/tests/krb5_child-test.c index 423f8bb84..24d077289 100644 --- a/src/tests/krb5_child-test.c +++ b/src/tests/krb5_child-test.c @@ -267,11 +267,11 @@ create_dummy_req(TALLOC_CTX *mem_ctx, const char *user, case SSS_KRB5_TYPE_FILE: kr->krb5_ctx->cc_be = &file_cc; break; -#ifdef HAVE_KRB5_DIRCACHE +#ifdef HAVE_KRB5_CC_COLLECTION case SSS_KRB5_TYPE_DIR: kr->krb5_ctx->cc_be = &dir_cc; break; -#endif /* HAVE_KRB5_DIRCACHE */ +#endif /* HAVE_KRB5_CC_COLLECTION */ default: if (tmpl[0] != '/') { DEBUG(SSSDBG_OP_FAILURE, ("Unkown ccname database\n")); |