%S short variable obsolescence

Arran Cudbard-Bell a.cudbardb at freeradius.org
Tue Jan 28 19:50:26 CET 2014


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140128/b2d8a3eb/attachment.pgp>


More information about the Freeradius-Users mailing list