Thanks you Alexander for the reply. Yes I had all the configuration done for the modules and they worked fine independently. <div><br></div><div>For using multiple modules, in users file I was trying to do </div><div><div>
DEFAULT         Auth-Type := Perl</div><div>                       Auth-Type := EAP</div><div><br></div><div>Which was giving me error because I was accessing run time variables from EAP in rlm_perl which was wrong.</div>
<div><br></div><div>Now I am doing,</div><div><div>DEFAULT         Auth-Type := EAP</div><div>                       Auth-Type := Perl</div></div><div><br></div><div>Which works like a charm. </div><div><br></div><div>Thank you once again.</div>
<div><br></div><br><div class="gmail_quote">On Thu, Aug 4, 2011 at 5:27 AM, Alexander Clouter <span dir="ltr"><<a href="mailto:alex@digriz.org.uk">alex@digriz.org.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">Mrinal K <<a href="mailto:sinha.mrinal@gmail.com">sinha.mrinal@gmail.com</a>> wrote:<br>
><br>
> I am trying to authenticate users using client certificates and when<br>
> that is verified I intend to use perl module for checking other<br>
> attributes and verify that from database. Till now I was trying to<br>
> configure freeradius to do EAP-TLS and then execute the perl<br>
> module(rlm_perl). Both of them work perfectly fine independently but I<br>
> donot know if we can put them together. I believe I can do something<br>
> similar(checking certificate using EAP and then execute a script)<br>
> using exec-program-wait but considering its depricability and per<br>
> thread overhead will like the rlm_perl.<br>
><br>
</div></div>Without including your FreeRADIUS configuration there is very little<br>
anyone here can do to help you other than ask have you just tried using<br>
both modules?<br>
----<br>
authorize {<br>
  ...<br>
<br>
  eap<br>
<br>
  perl<br>
<br>
  ...<br>
}<br>
<br>
authenticate {<br>
  eap<br>
  perl<br>
}<br>
----<br>
<br>
Cheers<br>
<font color="#888888"><br>
--<br>
Alexander Clouter<br>
.sigmonster says: Yow!  Is my fallout shelter termite proof?<br>
<br>
-<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>
</font></blockquote></div><br><br clear="all"><br>-- <br>-<br>
</div>