disable OID check to get IAKERB to work
authorLuke Howard <lukeh@padl.com>
Mon, 27 Sep 2010 15:08:58 +0000 (17:08 +0200)
committerLuke Howard <lukeh@padl.com>
Mon, 27 Sep 2010 15:08:58 +0000 (17:08 +0200)
plugins/gs2.c

index 2a471c0..c3bf0a6 100644 (file)
@@ -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;