]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Call the right section/provide the right section
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 26 Jun 2017 14:52:39 +0000 (10:52 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 26 Jun 2017 14:52:39 +0000 (10:52 -0400)
src/modules/rlm_eap/types/rlm_eap_gtc/rlm_eap_gtc.c
src/tests/eapol_test/config/servers.conf

index 9f3e5c1859fed75aea34d4e328e73c1f53249219..718ba7490f50b525319e5121bdc1876aed3693ac 100644 (file)
@@ -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.
index 442d893d2951a7506178206208c36cfc4fa7fbdf..7b72b1cd7ea57d7ad9f2e7cea00f609689f43675 100644 (file)
@@ -145,10 +145,19 @@ server inner-tunnel {
                eap
        }
 
-       authenticate {
-               pap
+       authenticate pap {
+               pap     
+       }
+
+       authenticate chap {
                chap
+       }
+
+       authenticate mschap {
                mschap
+       }
+
+       authenticate eap {
                eap
        }
 }