User-Name case insensitive, spaces - freeradius 2.1.12

Bruno Correia email at brunocorreia.com.br
Fri May 23 21:19:16 CEST 2014


I do not understand where exactly the change must be made. Where is made 
the function call "filter_username"?

Thank you

On 23-05-2014 07:53, A.L.M.Buxey at lboro.ac.uk wrote:
> 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
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

-- 
*
*
**Bruno G Correia**
Analista de Redes
<http://br.linkedin.com/in/brunocorr>
(83) 8812-2235
(83) 9862-0224
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140523/ffb8b3b1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedinbn.png
Type: image/png
Size: 1015 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140523/ffb8b3b1/attachment.png>


More information about the Freeradius-Users mailing list