Spaces in the end of User-Name.

Alan DeKok aland at deployingradius.com
Wed Jan 19 08:13:35 CET 2011


admin wrote:
> What i must to specify in a config file of freeradius2 that in each
> request before its further handling it automatically deleted spaces in the
> end of %{User-Name}?

  You need to write a custom rule in "unlang".

  However... my $0.02 is that you shouldn't.  Instead, if you see a
User-Name with spaces, *reject* it.  The user is trying to play games.

> The parameter nospace_user doesn't work.

  That was removed many years ago.

  Alan DeKok.



More information about the Freeradius-Users mailing list