mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 16:40:16 +01:00
ppp: always use 'noauth'
Since NM is really only a client of the provider's PPP server, and since NM doesn't have any authentication information to authenticate the remote peer anyway. Some providers don't set up their servers to allow clients to ask for authentication from the remote peer either.
This commit is contained in:
parent
154f2f4534
commit
468ca67a1f
1 changed files with 6 additions and 2 deletions
|
|
@ -804,8 +804,12 @@ create_pppd_cmd_line (NMPPPManager *self,
|
|||
if (nm_setting_ppp_get_baud (setting))
|
||||
nm_cmd_line_add_int (cmd, nm_setting_ppp_get_baud (setting));
|
||||
|
||||
if (nm_setting_ppp_get_noauth (setting))
|
||||
nm_cmd_line_add_string (cmd, "noauth");
|
||||
/* noauth by default, because we certainly don't have any information
|
||||
* with which to verify anything the peer gives us if we ask it to
|
||||
* authenticate itself, which is what 'auth' really means.
|
||||
*/
|
||||
nm_cmd_line_add_string (cmd, "noauth");
|
||||
|
||||
if (nm_setting_ppp_get_refuse_eap (setting))
|
||||
nm_cmd_line_add_string (cmd, "refuse-eap");
|
||||
if (nm_setting_ppp_get_refuse_pap (setting))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue