From fd8595874aa06c8057740001ec465ba76b4af142 Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 17 May 2012 18:06:34 +0200 Subject: 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. --- src/providers/krb5/krb5_common.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/providers/krb5/krb5_common.h') 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__ */ -- cgit