<br><br><div><span class="gmail_quote">On 02/08/06, <b class="gmail_sendername">Colm Ennis</b> <<a href="mailto:cennis@smarttelecom.ie">cennis@smarttelecom.ie</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hiya,<br><br>does anyone know if users/sql authentication based on the NAS-Port-Id<br>field possible? and if so how?</blockquote><div><br><br>Colm,<br><br>What are you going to authenticate? If they can use any username/password, then are you just checking whether a port is active or inactive?
<br><br>You're probably talking about defining a new authentication module (which can then do anything you want). A quick way would be to use rlm_perl to embed a perl module that does the authentication (see <a href="http://wiki.freeradius.org/index.php/Rlm_perl">
http://wiki.freeradius.org/index.php/Rlm_perl</a>). It can access a DB etc if required.<br><br>Thanks,<br><br>Alex<br><br></div><br></div><br>