summaryrefslogtreecommitdiff
path: root/src/providers/krb5/krb5_utils.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2013-08-21 12:44:47 -0400
committerJakub Hrozek <jhrozek@redhat.com>2013-08-22 19:29:08 +0200
commit8340ca480e0fe823441633720d67efc9e4a4bc64 (patch)
tree0913f1a34803b2684c8adfa207c6086f40991226 /src/providers/krb5/krb5_utils.h
parent628f47f0faa5ce5dc0b3790b0dd2f987dddcab19 (diff)
downloadsssd-8340ca480e0fe823441633720d67efc9e4a4bc64.tar.gz
sssd-8340ca480e0fe823441633720d67efc9e4a4bc64.tar.bz2
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_utils.h')
-rw-r--r--src/providers/krb5/krb5_utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/krb5/krb5_utils.h b/src/providers/krb5/krb5_utils.h
index 2e1bec71..4a5904cd 100644
--- a/src/providers/krb5/krb5_utils.h
+++ b/src/providers/krb5/krb5_utils.h
@@ -84,14 +84,14 @@ errno_t become_user(uid_t uid, gid_t gid);
errno_t get_ccache_file_data(const char *ccache_file, const char *client_name,
struct tgt_times *tgtt);
-#ifdef HAVE_KRB5_DIRCACHE
+#ifdef HAVE_KRB5_CC_COLLECTION
extern struct sss_krb5_cc_be dir_cc;
errno_t cc_dir_create(const char *location, pcre *illegal_re,
uid_t uid, gid_t gid, bool private_path);
-#endif /* HAVE_KRB5_DIRCACHE */
+#endif /* HAVE_KRB5_CC_COLLECTION */
errno_t get_domain_or_subdomain(TALLOC_CTX *mem_ctx, struct be_ctx *be_ctx,
char *domain_name,