User-Name case insensitive, spaces - freeradius 2.1.12

A.L.M.Buxey at A.L.M.Buxey at
Fri May 23 12:53:20 CEST 2014


> Usage freeradius 2.1.2 and i'm with problems about username authentication.
> Simply authentication accept any variations of the same username. Example:

either use the filter_username and enable the case checking rule, or
'tolower' your user-name when checking directly but just enabling this:

> *# Mixed case: reject**
> **                if (User-Name != "%{tolower:%{User-Name}}") {**
> **                        reject**
> **                }*

by commenting it and calling filter_username in yoru authorization stage
should work


More information about the Freeradius-Users mailing list