Event-Timestamp issue when reading a detail file
Alan DeKok
aland at deployingradius.com
Mon May 20 16:06:14 UTC 2024
On May 20, 2024, at 9:57 AM, Aleš Rygl <ales at rygl.net> wrote:
> Is there any way around this? I could use $S instead of Event-Timestamp, but that's no good. Would it be possible to manipulate the Event-Timestamp value with the expr module when reading the details file? Or when inserting into a DB where FROM_UNIXTIME(%{integer:Event-Timestamp}) is used. But it would have to respect DST change.
The correct solution is to port the fixed code from the "master" branch: https://github.com/FreeRADIUS/freeradius-server/issues/5323
It's really just an "#ifdef __APPLE_" block, and a call to strptime().
Alan DeKok.
More information about the Freeradius-Users
mailing list