r13598: Defining KRB5KRB_ERR_RESPONSE_TOO_BIG if not defined which is the case
authorLars Müller <lmuelle@samba.org>
Tue, 21 Feb 2006 17:35:52 +0000 (17:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:18 +0000 (11:10 -0500)
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)

source3/include/includes.h

index 0dbcb69286bf044ee25980c9b0c148a630899c12..210c0040b5bc61b5c5fbf2c61dde11640a6db584 100644 (file)
@@ -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