FREE RADIUS client

Brian Candler B.Candler at pobox.com
Mon Feb 7 15:20:27 CET 2011


On Mon, Feb 07, 2011 at 05:07:03PM +0530, karnik jain wrote:
>    I am talking about radclient only.
>    If supplied USER-NAme is not UTF-8 encoded by some means
>    suppose the scenario where UTF-8 support is not there then
>    at that time what radclient does.
> 
>    Does it send the same multilingual charcters to the RADIUS server or
>    first of all convert that into UTF-8 as per RFC 2865 and send it to
>    RADIUS server in ACCESS REQUEST packet as attribute or
>    just send as it is to RADIUS server?

It just sends the bytes as-is.

If you have data in another encoding, which you want to convert to UTF-8 for
sending, then you need to transcode it yourself first using something like
'iconv'.

In any case, the data which you provide to radclient needs to use the
standard ASCII characters for equals, double-quotes and so on, so that it
can parse the lines. UTF-8 fulfils that requirement.

HTH,

Brian.



More information about the Freeradius-Users mailing list