5 Mar
2015
5 Mar
'15
10:30 a.m.
On 05 Mar 2015, at 5:25 PM, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
Call rlm_preprocess which will give you Event-Timestamp.
# # Create or parse an ASN1 generalized time stamp # # Note: Not as flexible as it should be due to fixed strftime format # # Should be able to deal with fractional seconds and lack of timezone. # date generalized_time { format = "%Y%m%d%H%M%S%z" }
(&(uid=%{User-Name})(myExpiryTimestamp>=%{generalized_time:&Event-Timestamp}))
the rlm_date and Event-Timestamp combo replace the one letter expansions.
Thanks for confirming this. Does Event-Timestamp represent the date on the radius server itself, or the date as provided by the NAS in the request? Regards, Graham —