so, for now i have solvd my problem:
add a new attribute in dictionary:
ATTRIBUTEActivate-Account-At3080integer
this will filled with the unix-timestamp for activating time. and here
are the unlang code:
authorize {
...
if(%l %{check:Activate-Account-At}) {
Am 17.09.2012 03:27, schrieb Fajar A. Nugraha:
Did you read the post?
Resv-Start-Time and others in that example are custom (i.e. made up)
attributes that you put on radcheck/radgroupcheck (there's no such
thing as radius attributes table, btw).
The comparing is done by unlang because there's
There is rlm_logintime module. It uses Login-Time control attribute.
Login-Time attribute format is:
login-times ::= login-time | login-times,login-time
login-time ::= days | daystime
days ::= day | daysday
day ::= day-of-week | day-of-week-day-of-week | Wk | Al | Any
day-of-week ::= Su | Mo |
On Sun, Sep 16, 2012 at 11:31 PM, SkyDiablo skydia...@gmx.net wrote:
hiho,
i search a solution to set a activate datetime for a account? in the end,
i want a possebility to set a timespan where the account is active?
from - datetime
to - dateime
any tips for me ?
Something like
Am 16.09.2012 23:56, schrieb Fajar A. Nugraha:
Something like
http://freeradius.1045715.n5.nabble.com/Unix-TimeStamp-Based-Login-td5708187.html#a5708934?
not realy, i want to use the radius attributes table, so i didnt find
a module that can handle this comparing.
any other ideas ?
-
List
On Mon, Sep 17, 2012 at 5:31 AM, SkyDiablo skydia...@gmx.net wrote:
Am 16.09.2012 23:56, schrieb Fajar A. Nugraha:
Something like
http://freeradius.1045715.n5.nabble.com/Unix-TimeStamp-Based-Login-td5708187.html#a5708934?
not realy, i want to use the radius attributes table, so i didnt find
6 matches
Mail list logo