mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-20 18:40:05 +01:00
ifcfg: add support for "802-1x.system-ca-certs" setting
This commit is contained in:
parent
87af96a9d6
commit
2a4fb75d3b
2 changed files with 9 additions and 0 deletions
|
|
@ -3506,6 +3506,11 @@ next:
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
g_object_set (s_8021x,
|
||||||
|
NM_SETTING_802_1X_SYSTEM_CA_CERTS,
|
||||||
|
svGetValueBoolean (ifcfg, "IEEE_8021X_SYSTEM_CA_CERTS", FALSE),
|
||||||
|
NULL);
|
||||||
|
|
||||||
nm_clear_g_free (&value);
|
nm_clear_g_free (&value);
|
||||||
v = svGetValueStr (ifcfg, "IEEE_8021X_SUBJECT_MATCH", &value);
|
v = svGetValueStr (ifcfg, "IEEE_8021X_SUBJECT_MATCH", &value);
|
||||||
g_object_set (s_8021x, NM_SETTING_802_1X_SUBJECT_MATCH, v, NULL);
|
g_object_set (s_8021x, NM_SETTING_802_1X_SUBJECT_MATCH, v, NULL);
|
||||||
|
|
|
||||||
|
|
@ -419,6 +419,10 @@ write_8021x_setting (NMConnection *connection,
|
||||||
nm_setting_802_1x_get_password_raw_flags (s_8021x));
|
nm_setting_802_1x_get_password_raw_flags (s_8021x));
|
||||||
g_free (tmp);
|
g_free (tmp);
|
||||||
|
|
||||||
|
svSetValueBoolean_cond_true (ifcfg,
|
||||||
|
"IEEE_8021X_SYSTEM_CA_CERTS",
|
||||||
|
nm_setting_802_1x_get_system_ca_certs (s_8021x));
|
||||||
|
|
||||||
/* PEAP version */
|
/* PEAP version */
|
||||||
value = nm_setting_802_1x_get_phase1_peapver (s_8021x);
|
value = nm_setting_802_1x_get_phase1_peapver (s_8021x);
|
||||||
svUnsetValue (ifcfg, "IEEE_8021X_PEAP_VERSION");
|
svUnsetValue (ifcfg, "IEEE_8021X_PEAP_VERSION");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue