summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLars Müller <lmuelle@samba.org>2006-02-21 17:35:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:18 -0500
commit8176d4c9fe67701c7f2a71d6911961e16d843e1a (patch)
treea0355638c7252570d3e1e8d6c1c288fcfde08e9e /source3/include
parent3c892fdf4f5a33801762e3faa403d2ecb5c1b574 (diff)
downloadsamba-8176d4c9fe67701c7f2a71d6911961e16d843e1a.tar.gz
samba-8176d4c9fe67701c7f2a71d6911961e16d843e1a.tar.bz2
samba-8176d4c9fe67701c7f2a71d6911961e16d843e1a.zip
r13598: Defining KRB5KRB_ERR_RESPONSE_TOO_BIG if not defined which is the case
for older krb5 implementations. Patch slightly modified from the version provided by Björn Jacke <bjoern at j3e dot de> at the samba-technical list after discussion on the list and by IRC. Thanks Björn! (This used to be commit 49e6431c06c70088907c31e2da1ec83a09377015)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h
index 0dbcb69286..210c0040b5 100644
--- a/source3/include/includes.h
+++ b/source3/include/includes.h
@@ -1453,6 +1453,10 @@ time_t timegm(struct tm *tm);
#if defined(HAVE_KRB5)
+#ifndef KRB5KRB_ERR_RESPONSE_TOO_BIG
+#define KRB5KRB_ERR_RESPONSE_TOO_BIG (-1765328332L)
+#endif
+
#ifndef HAVE_KRB5_SET_REAL_TIME
krb5_error_code krb5_set_real_time(krb5_context context, int32_t seconds, int32_t microseconds);
#endif