Converting User-Name to lower letters
p.mayers at imperial.ac.uk
Thu May 8 12:34:33 CEST 2008
Phil Mayers wrote:
> 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.
I've finished up the code and tested it, module patch is in bug 555:
Please note this is *NOT* in production at our site; it appears to work,
and I've tested it lightly but we DO NOT use it. I wrote it for fun.
More information about the Freeradius-Users