Blank spaces after username - problem with accounting -MySqldatabase.

Kevin Bonner keb at pa.net
Wed Jan 23 00:10:24 CET 2008


On Tuesday 22 January 2008 13:20:27 Marinko Tarlac wrote:
> Alan DeKok wrote:
> >   a) the user has typed the user name with spaces
>
> Yes. User has typed user name with space but why radius didn't ignore them?

FreeRADIUS doesn't mangle usernames by default.

> I repeat, user names and all other records in database are without
> space. User has entered space and he can connect but he can't see his
> accounting informations because they are connected with the same user
> but with space at the end.

If the user can connect with an invalid username, the problem is a 
configuration issue.  Reject usernames with a space (see email from Alan) in 
the username or strip the spaces from the request.

-Kevin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080122/e4e6f2db/attachment.pgp>


More information about the Freeradius-Users mailing list