From: Arran Cudbard-Bell Date: Mon, 26 Jun 2017 14:52:39 +0000 (-0400) Subject: Call the right section/provide the right section X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cbc0a2ae042652872ee2a3b53c4b22177d8e9df6;p=thirdparty%2Ffreeradius-server.git Call the right section/provide the right section --- diff --git a/src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c b/src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c index 9f3e5c1859f..718ba7490f5 100644 --- a/src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c +++ b/src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c @@ -126,7 +126,7 @@ static rlm_rcode_t mod_process(void *instance, eap_session_t *eap_session) */ request->password = vp; - unlang = cf_section_find(request->server_cs, "process", inst->auth_type_name); + unlang = cf_section_find(request->server_cs, "authenticate", inst->auth_type_name); if (!unlang) { /* * Call the authenticate section of the *current* virtual server. diff --git a/src/tests/eapol_test/config/servers.conf b/src/tests/eapol_test/config/servers.conf index 442d893d295..7b72b1cd7ea 100644 --- a/src/tests/eapol_test/config/servers.conf +++ b/src/tests/eapol_test/config/servers.conf @@ -145,10 +145,19 @@ server inner-tunnel { eap } - authenticate { - pap + authenticate pap { + pap + } + + authenticate chap { chap + } + + authenticate mschap { mschap + } + + authenticate eap { eap } }