%S short variable obsolescence

stefan.paetow at diamond.ac.uk stefan.paetow at diamond.ac.uk
Tue Jan 28 22:34:49 CET 2014


Thanks both!

Regards

Stefan

________________________________________
From: Arran Cudbard-Bell [a.cudbardb at freeradius.org]
Sent: Tuesday, January 28, 2014 6:50 PM
To: FreeRadius users mailing list
Subject: Re: %S short variable obsolescence

On 28 Jan 2014, at 15:32, stefan.paetow at diamond.ac.uk wrote:

> Hi,
>
> Another question... The Wiki at http://wiki.freeradius.org/config/Run%20time%20variables says that %S and others *will* be removed in the future... since I am now using %S, what future variable would be preferred for using it? The Wiki does not list one at the moment.

rlm_date with Event-Timestamp

%{date:Event-Timestamp}

You'll need to configure a suitable format string in an rlm_date instance.

IIRC you need to call preprocess to get Event-Timestamp inserted into the request list.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2


-- 
This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. 
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 





More information about the Freeradius-Users mailing list