Re: account activate datetime - SOLVED

2012-09-19 Thread SkyDiablo
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}) {

Re: account activate datetime

2012-09-18 Thread SkyDiablo
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

Re: account activate datetime

2012-09-17 Thread Iliya Peregoudov
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 |

Re: account activate datetime

2012-09-16 Thread Fajar A. Nugraha
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

Re: account activate datetime

2012-09-16 Thread SkyDiablo
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

Re: account activate datetime

2012-09-16 Thread Fajar A. Nugraha
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