acct-session-start attribute ?
Alan DeKok
aland at deployingradius.com
Thu Jun 4 17:20:52 CEST 2015
On Jun 4, 2015, at 11:17 AM, Jeremy Ravel <Jeremy.Ravel at etu.univ-savoie.fr> wrote:
> So i got in my sql database
> Username || Attribute || op || Value
> User User-Password := pass
> User Acc-Start-date := Jun 8 2015 08:50:46 CEST
That should work.
> I created the attribute Acc-Start-Date in the file dictionnary.conf.
Is it "date" or "integer"?
That matters.
> And in the /site-available/default in the authorise section
> if ( Acc-Start-Date < "%{Current-Time}" ) { reject }
That should work.
> So I guess, i have to add something to allow freeradius to find my custom attribute.
No.
It should work.
Alan DeKok.
More information about the Freeradius-Users
mailing list