Support all EAP methods for PPP sessions with RADIUS

This commit is contained in:
Yihong Wu committed 2023-02-27 08:37:23 +00:00
1 parent e81ecbb0ec
commit 4ff9c6393a
20 files changed
+334 -41

No files matched your search

+1 -1
View File
@@ -546,7 +546,7 @@ bool SamAuthUserByPlainPassword(CONNECTION *c, HUB *hub, char *username, char *p
if (hub->RadiusConvertAllMsChapv2AuthRequestToEap)
{
// Do EAP or PEAP
eap = HubNewEapClient(hub->Cedar, hub->Name, client_ip_str, utf8, opt->In_VpnProtocolState);
eap = HubNewEapClient(hub->Cedar, hub->Name, client_ip_str, utf8, opt->In_VpnProtocolState, false, NULL, 0);
// Prepare MSCHAP response and replace plain password
if (eap != NULL)