4 Jun
2015
4 Jun
'15
11:20 a.m.
On Jun 4, 2015, at 11:17 AM, Jeremy Ravel <Jeremy.Ravel@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.