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?<div><br></div><div>
<div> if(Called-Station-Id == "xx-xx-xx-xx-xx-xx:duroam") {</div><div> eap_new {</div><div> ok = return</div><div> }</div><div> }</div><div> elseif(Realm == "<a href="http://newdomain.com">newdomain.com</a>") {</div>
<div> eap_new {</div><div> ok = return</div><div> }</div><div> }</div><div> else {</div><div> eap {</div><div> ok = return</div>
<div> }</div><div> }</div><br><div class="gmail_quote">On Fri, May 18, 2012 at 5:03 AM, alan buxey <span dir="ltr"><<a href="mailto:A.L.M.Buxey@lboro.ac.uk" target="_blank">A.L.M.Buxey@lboro.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
> Found Auth-Type = eap_new<br>
> Found Auth-Type = EAP<br>
<br>
</div>no no. you've got to have 2 totally different eap mpdules defined , and where they<br>
could be you need to ensure that you have 2 types of request configured. you are<br>
better off having a new virtual-server that you direct that request into and change 'eap' in it<br>
(wherever it appears) to eap_new<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
alan<br>
</font></span><div class="HOEnZb"><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br></div>