From a52670be8175fbc9855eb260545559ede7be921c Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Mon, 27 Sep 2010 17:08:58 +0200 Subject: [PATCH] disable OID check to get IAKERB to work --- plugins/gs2.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gs2.c b/plugins/gs2.c index 2a471c0..c3bf0a6 100644 --- a/plugins/gs2.c +++ b/plugins/gs2.c @@ -447,10 +447,12 @@ gs2_server_mech_step(void *conn_context, assert(maj_stat == GSS_S_COMPLETE); +#if 0 if (!g_OID_equal(text->mechanism, actual_mech)) { ret = SASL_WRONGMECH; goto cleanup; } +#endif if ((out_flags & GSS_C_SEQUENCE_FLAG) == 0) { ret = SASL_BADAUTH; goto cleanup; -- 2.1.4