Thanks Alan, Ok fair point. I have now gone back to the document that Christian sent me earlier: https://wiki.freeradius.org/config/run_time_variables#one-character-variable... /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 else? Thanks, Houman On Wed, 2 Oct 2019 at 01:11, Alan DeKok <aland@deployingradius.com> wrote:
On Oct 1, 2019, at 5:56 PM, Houman <houmie@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.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html