converting username to lowercase

Alan DeKok aland at deployingradius.com
Fri Sep 21 16:14:23 CEST 2018


On Sep 21, 2018, at 10:11 AM, JAHANZAIB SYED <aacable at hotmail.com> wrote:
> 
> I am running FreeRADIUS Version 2.2.8 (yes its old) along with Mikrotik Router as NAS (pppoe Server)
> in radacct table see some user entries with mixed uppercase ,example
> 
> User1
> USER2
> 
> in radcheck, the user is defined in lower case. why radacct is putting some user with random lower/uppercase ?

  Because it's storing what the user enters.

> How can I force it to use only lowercase for usernames?

  Check if the user is logging in with the wrong case, and reject them.

  This is all done by default in v3...

  Alan DeKok.




More information about the Freeradius-Users mailing list