Using unlang for authentication

Andrei Petru Mura mapandrei at gmail.com
Tue Jul 31 14:19:48 CEST 2012


I declared a new attribute on FR dictionary, called
CarboSolutions-NotBefore. This attribute should contain the data time as a
string before what the user should not be able to authenticate. That
attribute is placed in radcheck table (like: CarboSolutions-NotBefore >=
20120801). I tried to deal with that following some threads from that forum
on similar issues, that sooner or later leads to unlang procedures. I also
read the unlang's man page. But I can't understand how to deal with unlang.
Can anyone help me to obtain what I need?

What I need: I need that every authentication request, should contain an
CarboSolutions-NotBefore field with current date.

If you have other better approaces for what I need, feel free to suggest me.

N.B. I get inspired especially from
that<http://freeradius.1045715.n5.nabble.com/Temporary-Accounts-td2756199.html#message2756205>
 post.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20120731/e45877e6/attachment.html>


More information about the Freeradius-Users mailing list