Problem with spaces in usernames.

Phil Mayers p.mayers at imperial.ac.uk
Wed Jan 29 18:05:37 CET 2014


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!

> 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.


More information about the Freeradius-Users mailing list