non ascii characters in exec output

Oleg Palij o.palij at dp.uz.gov.ua
Fri Aug 19 08:58:24 CEST 2016


> 18 авг. 2016 г., в 12:05, Alan DeKok <aland at deployingradius.com> написал(а):
> 
> On Aug 13, 2016, at 8:30 PM, Oleg Palij <o.palij at dp.uz.gov.ua> wrote:
>> I want to convert it to custom format and log to postauth table:
>> authorize {
>> update control {
>>   &ms-publishedAt := "%{exec:/etc/freeradius/dn2ou.py %{control:ms-distinguishedName}}"
>> }
> 
>  I would suggest just using rlm_python.  It will be faster and simpler

Thanks, Alan. rlm_python works great without encoding issue.


More information about the Freeradius-Users mailing list