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@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