2015-03-20 1:04 GMT+08:00 Alan DeKok <aland@deployingradius.com>:
Add that to raddb/dictionary. Not any other one.
or there is other "authenticate" section I am missing
No.
You’re probably running an old version of the server. Recent ones are better with this.
hi Alan: I have tried 3.0.1 and 3.0.4 comes with RHEL 7, and 2.1 comes with RHEL6, the results are the same. I also check the source code rlm_eap_gtc.c which comes with 3.0.7, it seems eap_gtc will check dictionary for auth_type. the source code below. maybe it can be made simpler in future version :) if (inst->auth_type_name && *inst->auth_type_name) { dval = dict_valbyname(PW_AUTH_TYPE, 0, inst->auth_type_name); if (!dval) { ERROR("rlm_eap_gtc: Unknown Auth-Type %s", inst->auth_type_name); return -1; }