Problem with spaces in usernames.

Maciej Milewski milu at dat.pl
Wed Jan 29 23:11:32 CET 2014


On 29.01.2014 18:05, Phil Mayers wrote:
> On 29/01/14 16:44, Maciej Milewski wrote:
>>          User-Name = 'A Guest'
>>          User-Password = '123456'
>>          NAS-IP-Address = 10.0.6.10
>>          NAS-Port = 0
>>          Message-Authenticator = 0x3499158ba2be438b4e63389ffd091332
>> Wed Jan 29 17:20:58 2014 : Debug: (0) # Executing section authorize from
> What is this OBSESSION people have with running with crazy command
> line arguments that spew useless timestamp info?
> "radiusd -X" is ALL you need to post!
OK, thanks.
>> file /usr/local/etc/raddb/sites-enabled/default
>> Wed Jan 29 17:20:58 2014 : Debug: (0)   authorize {
>> Wed Jan 29 17:20:58 2014 : Debug: (0)   filter_username
>> filter_username {
> This...
>> filter_username = reject
>> Wed Jan 29 17:20:58 2014 : Debug: (0)  } #  authorize = reject
> ...is rejecting it.
>
> 3.x comes with a default "username" sanity filter which removes
> lower-case/space. If you want to allow these, comment out the filter.
>
> Reading the debug output would be polite, in future.
Sorry, I didn't wanted to be impolite. After looking for 2 days why my
old EAP config from 2.x doesn't work when I just added the same cfglines
didn't help either.

-- 
Pozdrawiam,
Maciej Milewski



More information about the Freeradius-Users mailing list