How to get current datetime in freeradius?

Houman houmie at
Wed Oct 2 08:24:27 CEST 2019

Thanks Alan,

Ok fair point. I have now gone back to the document that Christian sent me

/etc/freeradius/3.0/sites-enabled/default[565]: (Expires-At < %{l}) {
/etc/freeradius/3.0/sites-enabled/default[565]:               ^ Failed to
parse value for attribute

/etc/freeradius/3.0/sites-enabled/default[565]: (Expires-At < %l) {
/etc/freeradius/3.0/sites-enabled/default[565]:               ^ Failed to
parse value for attribute

I'm still unable to get the local timestamp. Do I have to enable anything


On Wed, 2 Oct 2019 at 01:11, Alan DeKok <aland at> wrote:

> On Oct 1, 2019, at 5:56 PM, Houman <houmie at> wrote
> > Fair point. I have tried your way like this, but I get an error with
> > Event-Timestamp. This is not predefined like %{User-Name} I take it. So
> how
> > do I get that?
>   That attribute is sent by the NAS in a packet.  If it isn't sent in a
> packet, see the Wiki for variable expansions.  You can use the local time
> via %l
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See

More information about the Freeradius-Users mailing list