How to get current datetime in freeradius?

Alan DeKok aland at deployingradius.com
Wed Oct 2 02:10:49 CEST 2019


On Oct 1, 2019, at 5:56 PM, Houman <houmie at gmail.com> 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.




More information about the Freeradius-Users mailing list