authenticating based on Nas-Port-Id

Alex French alex at evilal.com
Wed Aug 16 00:22:03 CEST 2006


On 02/08/06, Colm Ennis <cennis at smarttelecom.ie> wrote:
>
> hiya,
>
> does anyone know if users/sql authentication based on the NAS-Port-Id
> field possible? and if so how?



Colm,

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?

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
http://wiki.freeradius.org/index.php/Rlm_perl). It can access a DB etc if
required.

Thanks,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20060815/155f1414/attachment.html>


More information about the Freeradius-Users mailing list