summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/config.h.in9
-rw-r--r--source3/include/includes.h12
2 files changed, 21 insertions, 0 deletions
diff --git a/source3/include/config.h.in b/source3/include/config.h.in
index db9cd86cca..46ccf911d1 100644
--- a/source3/include/config.h.in
+++ b/source3/include/config.h.in
@@ -552,6 +552,15 @@
/* Define to 1 if you have the <krb5.h> header file. */
#undef HAVE_KRB5_H
+/* Whether krb5_set_default_in_tkt_etypes, is available */
+#undef HAVE_KRB5_SET_DEFAULT_IN_TKT_ETYPES
+
+/* Whether krb5_set_default_tgs_ktypes is available */
+#undef HAVE_KRB5_SET_DEFAULT_TGS_KTYPES
+
+/* Whether krb5_set_real_time is available */
+#undef HAVE_KRB5_SET_REAL_TIME
+
/* Define to 1 if you have the <lastlog.h> header file. */
#undef HAVE_LASTLOG_H
diff --git a/source3/include/includes.h b/source3/include/includes.h
index eb89d6f2af..0142dab724 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1208,5 +1208,17 @@ time_t timegm(struct tm *tm);
#define VXFS_QUOTA
#endif
+#if defined(HAVE_KRB5)
+
+#ifndef KRB5_SET_REAL_TIME
+krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds);
+#endif
+
+#ifndef HAVE_KRB5_SET_DEFAULT_TGS_KTYPES
+krb5_error_code krb5_set_default_tgs_ktypes(krb5_context ctx, const krb5_enctype *enc);
+#endif
+
+#endif /* HAVE_KRB5 */
+
#endif /* _INCLUDES_H */