From ad945bc68f6b1e73a47bc0a33b35fcbf182f8137 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 8 May 2012 12:38:20 -0400 Subject: gensec_gssapi: Make it possible to build with MIT krb5 We need to ifdef out some minor things here because there is no available API to set these options in MIT. The realm and canonicalize options should be not interesting in the client case. Same for the send_to_kdc hacks. Also the OLD DES3 enctype is not at all interesting. I am not aware that Windows will ever use DES3 and no modern implementation relies on that enctype anymore as it has been fully deprecated long ago, so we can simply ignore it. --- lib/krb5_wrap/krb5_samba.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/krb5_wrap') diff --git a/lib/krb5_wrap/krb5_samba.h b/lib/krb5_wrap/krb5_samba.h index 15da39c037..8d55a32f15 100644 --- a/lib/krb5_wrap/krb5_samba.h +++ b/lib/krb5_wrap/krb5_samba.h @@ -53,6 +53,9 @@ #if defined(HAVE_ENCTYPE_ARCFOUR_HMAC_MD5) && !defined(HAVE_ENCTYPE_ARCFOUR_HMAC) #define ENCTYPE_ARCFOUR_HMAC ENCTYPE_ARCFOUR_HMAC_MD5 #endif +#if defined(HAVE_ENCTYPE_ARCFOUR_HMAC_MD5_56) && !defined(HAVE_ENCTYPE_ARCFOUR_HMAC_EXP) +#define ENCTYPE_ARCFOUR_HMAC_EXP ENCTYPE_ARCFOUR_HMAC_MD5_56 +#endif /* The older versions of heimdal that don't have this define don't seem to use it anyway. I'm told they -- cgit