some work on GS2
[cyrus-sasl.git] / plugins / gssapi.c
index 0e6cf2b..3b6008f 100644 (file)
@@ -757,7 +757,7 @@ gssapi_server_mech_step(void *conn_context,
        maj_stat =
            gss_accept_sec_context(&min_stat,
                                   &(text->gss_ctx),
-                                  text->server_creds,
+                                  params->gss_creds ? params->gss_creds : text->server_creds,
                                   input_token,
                                   GSS_C_NO_CHANNEL_BINDINGS,
                                   &text->client_name,
@@ -1276,7 +1276,7 @@ static sasl_server_plug_t gssapi_server_plugins[] =
     },
     {
        "GSS-EAP",                      /* mech_name */
-       256,                            /* max_ssf */
+       128,                            /* max_ssf */
        SASL_SEC_NOPLAINTEXT
        | SASL_SEC_NOACTIVE
        | SASL_SEC_MUTUAL_AUTH,         /* security_flags */