User-Name case insensitive, spaces - freeradius 2.1.12

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


Hi,

> 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

alan


More information about the Freeradius-Users mailing list