summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-01-19 22:25:34 +0000
committerJeremy Allison <jra@samba.org>2003-01-19 22:25:34 +0000
commita45db02a82a42d6ac616c3a1efe73272ccbd69b5 (patch)
tree8096328fbebc576fc187d612111b1b217daaa94e /source3/include
parent52b65f70caa1c6ac3f978cd3a349de921fe1eea7 (diff)
downloadsamba-a45db02a82a42d6ac616c3a1efe73272ccbd69b5.tar.gz
samba-a45db02a82a42d6ac616c3a1efe73272ccbd69b5.tar.bz2
samba-a45db02a82a42d6ac616c3a1efe73272ccbd69b5.zip
Merge in more of the SuSE patches for Heimdal. These changes show how
to add a function without an explicit #ifdef HEIMDAL which I'm trying to avoid. Jeremy. (This used to be commit 77aeb262ef7c7cd3d206afe2d5445caaca943dfd)
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 */