2 Certs for 2 SSID (802.1x)

C.F. Yeung yeungcf at gmail.com
Fri May 18 04:38:39 CEST 2012


Got it working as follow.

        if (Called-Station-Id == "xx-xx-xx-xx-xx-xx:eduroam") {
                eap_new {
                        ok = return
                }
        }
        if (Realm == "newdomain.com") {
                eap_new {
                        ok = return
                }
        }
        else {
                eap {
                        ok = return
                }
        }


On Fri, May 18, 2012 at 9:11 AM, C.F. Yeung <yeungcf at gmail.com> wrote:

> Thanks Alan, it's fixed with the help by Phil. I want to add one more
> condition to call the eap_new module based on Realm. The following elseif
> condition is wrong. How should I write the correct unlang?
>
>         if(Called-Station-Id == "xx-xx-xx-xx-xx-xx:duroam") {
>                 eap_new {
>                         ok = return
>                 }
>         }
>         elseif(Realm == "newdomain.com") {
>                 eap_new {
>                         ok = return
>                 }
>         }
>         else {
>                 eap {
>                         ok = return
>                 }
>         }
>
> On Fri, May 18, 2012 at 5:03 AM, alan buxey <A.L.M.Buxey at lboro.ac.uk>wrote:
>
>> Hi,
>>
>> >    Found Auth-Type = eap_new
>> >    Found Auth-Type = EAP
>>
>> no no. you've got to have 2 totally different eap mpdules defined , and
>> where they
>> could be you need to ensure that you have 2 types of request configured.
>>  you are
>> better off having a new virtual-server that you direct that request into
>> and change 'eap' in it
>> (wherever it appears) to eap_new
>>
>>
>> alan
>> -
>> List info/subscribe/unsubscribe? See
>> http://www.freeradius.org/list/users.html
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120518/cb30bb6a/attachment-0001.html>


More information about the Freeradius-Users mailing list