Multiple EAP config

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Sep 12 13:03:11 CEST 2012


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


More information about the Freeradius-Users mailing list