Converting User-Name to lower letters

Phil Mayers p.mayers at imperial.ac.uk
Thu May 8 10:46:33 CEST 2008


Alan DeKok wrote:
> Khaiti, Issam (ext) wrote:
>> I need a procedure to convert usernames from upper to lower letters. The
>> entries in the fastuser files are all in lower letters. When an
>> access-request comes where the username is in uppercase it has to be
>> converted to lowercase otherwise the authentication will fail.
> 
>   Write a C module, or use the Perl module.

I started work on an rlm_tr using the simple (non-unicode) GPLed "tr" 
implementation from busybox. I'll see if I can finish it up.



More information about the Freeradius-Users mailing list