mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 08:27:59 +02:00
This commit is contained in:
parent
18788a26d3
commit
e5347169f6
2 changed files with 4 additions and 3 deletions
|
|
@ -947,7 +947,7 @@ static EAPMethodsTable eap_methods_table[] = {
|
|||
{ "peap", need_secrets_phase2, verify_ttls },
|
||||
{ "ttls", need_secrets_phase2, verify_ttls },
|
||||
{ "sim", need_secrets_sim, NULL },
|
||||
{ "gtc", NULL, NULL }, // FIXME: implement
|
||||
{ "gtc", need_secrets_password, verify_identity },
|
||||
{ "otp", NULL, NULL }, // FIXME: implement
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1204,7 +1204,9 @@ eap_peap_reader (const char *eap_method,
|
|||
if (!strlen (*iter))
|
||||
continue;
|
||||
|
||||
if (!strcmp (*iter, "MSCHAPV2") || !strcmp (*iter, "MD5")) {
|
||||
if ( !strcmp (*iter, "MSCHAPV2")
|
||||
|| !strcmp (*iter, "MD5")
|
||||
|| !strcmp (*iter, "GTC")) {
|
||||
if (!eap_simple_reader (*iter, ifcfg, keys, s_8021x, TRUE, error))
|
||||
goto done;
|
||||
} else if (!strcmp (*iter, "TLS")) {
|
||||
|
|
@ -1217,7 +1219,6 @@ eap_peap_reader (const char *eap_method,
|
|||
goto done;
|
||||
}
|
||||
|
||||
// FIXME: OTP & GTC too
|
||||
lower = g_ascii_strdown (*iter, -1);
|
||||
g_object_set (s_8021x, NM_SETTING_802_1X_PHASE2_AUTH, lower, NULL);
|
||||
g_free (lower);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue