summaryrefslogtreecommitdiffstats
path: root/src/providers/krb5/krb5_common.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-05-17 18:06:34 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-06-14 15:52:29 -0400
commitfd8595874aa06c8057740001ec465ba76b4af142 (patch)
tree34432d6fea33da9f25512da487cdbf9fc2b95f53 /src/providers/krb5/krb5_common.h
parent7b9f1e13c750fed76886513071a2b63949181ea4 (diff)
downloadsssd-fd8595874aa06c8057740001ec465ba76b4af142.tar.gz
sssd-fd8595874aa06c8057740001ec465ba76b4af142.tar.xz
sssd-fd8595874aa06c8057740001ec465ba76b4af142.zip
Add a credential cache back end structure
To be able to add support for new credential cache types easily, this patch creates a new structure sss_krb5_cc_be that defines common operations with a credential cache, such as create, check if used or remove.
Diffstat (limited to 'src/providers/krb5/krb5_common.h')
-rw-r--r--src/providers/krb5/krb5_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/krb5/krb5_common.h b/src/providers/krb5/krb5_common.h
index 950505f12..029ebf6ed 100644
--- a/src/providers/krb5/krb5_common.h
+++ b/src/providers/krb5/krb5_common.h
@@ -84,6 +84,7 @@ struct krb5_service {
struct fo_service;
struct deferred_auth_ctx;
struct renew_tgt_ctx;
+struct sss_krb5_cc_be;
struct krb5_ctx {
/* opts taken from kinit */
@@ -115,6 +116,7 @@ struct krb5_ctx {
struct krb5_service *kpasswd_service;
int child_debug_fd;
+ struct sss_krb5_cc_be *cc_be;
pcre *illegal_path_re;
struct deferred_auth_ctx *deferred_auth_ctx;
@@ -171,4 +173,5 @@ errno_t remove_krb5_info_files(TALLOC_CTX *mem_ctx, const char *realm);
errno_t krb5_get_simple_upn(TALLOC_CTX *mem_ctx, struct krb5_ctx *krb5_ctx,
const char *username, const char **_upn);
+
#endif /* __KRB5_COMMON_H__ */