Multiple EAP config

BILLOT emmanuel.billot at ac-orleans-tours.fr
Wed Sep 12 13:37:29 CEST 2012


Le 12/09/2012 13:03, Arran Cudbard-Bell a écrit :
> On 12 Sep 2012, at 11:43, BILLOT <emmanuel.billot at ac-orleans-tours.fr> wrote:
>
>>> Like any other module in the server, you instantiate multiple instances and reference them in the different virtual servers.
>>>
>>> eap <instance> {
>>>
>>> }
>> Ok i did it but when trying to use instances, i get
>>
>> Found Auth-Type = EAP
>>   WARNING: Unknown value specified for Auth-Type.  Cannot perform requested action.
>> Failed to authenticate the user.
>>
>>
>> either no auth-type found
>>
>> I defined
>>
>>     eap eap-eleves {
>> ...
>> }
>>
>> Here is my config
>>
>> server test {
>>     # Authorization
>>     authorize {
>>         eap-test {
>>             ok = return
>>         }
>>     }
>>
>>     # Authentication
>>     authenticate {
>>         eap-test
>>     }
> right...
>
> So you want:
>
> authorize {
> 	eap-eleves {
> 		ok = return
> 	}
> }
>
> authenticate {
> 	Auth-Type eap-eleves {
> 		eap-eleves
> 	}
> }
>
> It sets its xlat name (the instance name) as the Auth-Type, and as you've not defined that it's complaining.
>
> https://github.com/alandekok/freeradius-server/blob/master/src/modules/rlm_eap/rlm_eap.c#L544
>
> -Arran
Thanks a lot this is exactly what i wanted.

BR,
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



More information about the Freeradius-Users mailing list