From dbf4dd47aa7f314a6a6bb2c8f9bb4ddd09de9e8b Mon Sep 17 00:00:00 2001 From: Lukas Slebodnik Date: Thu, 27 Jun 2013 20:38:38 +0200 Subject: Use conditional build for retrieving ccache. Some krb5 functions needn't be available for retrieving ccache with principal. Therefore ifdef is used to solve this situation with older version of libkrb5. There were two functions with similar functionality in krb5_child and krb5_utils. They were merged to one universal function, which was moved to file src/util/sss_krb5.c --- src/util/sss_krb5.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/util/sss_krb5.h') diff --git a/src/util/sss_krb5.h b/src/util/sss_krb5.h index 4d3b9f7ed..601a8acf9 100644 --- a/src/util/sss_krb5.h +++ b/src/util/sss_krb5.h @@ -192,4 +192,8 @@ krb5_error_code sss_extract_pac(krb5_context ctx, krb5_keytab keytab, krb5_authdata ***_pac_authdata); +char * sss_get_ccache_name_for_principal(TALLOC_CTX *mem_ctx, + krb5_context ctx, + krb5_principal principal, + const char *location); #endif /* __SSS_KRB5_H__ */ -- cgit