Changed behaviour in v3.x

stefan.paetow at diamond.ac.uk stefan.paetow at diamond.ac.uk
Tue Jan 28 00:10:32 CET 2014


Thanks Arran,

I'll apply that tomorrow and retry it.

I hope I can persuade RedHat to pop that into their version of 3.0.1 as well ;-)

Stefan


________________________________________
From: Arran Cudbard-Bell [a.cudbardb at freeradius.org]
Sent: Monday, January 27, 2014 6:17 PM
To: FreeRadius users mailing list
Subject: Re: Changed behaviour in v3.x

On 27 Jan 2014, at 18:01, Arran Cudbard-Bell <a.cudbardb at freeradius.org> wrote:

>
> On 27 Jan 2014, at 17:50, <stefan.paetow at diamond.ac.uk> <stefan.paetow at diamond.ac.uk> wrote:
>
>> Hi,
>>
>> In my post-auth section, I get the exact date and time in a specific format using /bin/date, and feed that back into an attribute. I've noticed though that now the back-tick exec appends a '\n' (a carriage return) to the end, which it did not do in FR2. Is that now correct (and expected) behaviour?
>
> Ah I figured that was expected behaviour. You can after all write a script which does not output a trailing \n.
>
> I'll poke it to strip off the whitespace and update the tests.

Done.

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