Converting User-Name to lower letters

Alan DeKok aland at deployingradius.com
Wed May 7 22:20:23 CEST 2008


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.

> In the FR version 1.x there was a config option "lower_user = before".
> This isn't existent in the 2.x version anymore. I tried to achieve this
> with unlang but wasn't successful. With the attribute rewrite option I
> can't find a way to do this either. 

  The "lower_user" feature was broken, and was removed.

  Alan DeKok.



More information about the Freeradius-Users mailing list