Removing spaces from User-Name

Alan DeKok aland at deployingradius.com
Thu Nov 30 01:54:13 UTC 2023


On Nov 29, 2023, at 11:35 AM, Daniel Ryšlink <ryslink at dialtelecom.cz> wrote:
> Thank you most kindly, this solution works.

  That's good.

> The users are authenticated versus a text "users" file generated and exported from a database - I suppose that the spaces will cause problems when matching those usernames, right? Could the user name be enclosed in quote marks, or can the spaces be escaped somehow? So far, the authetication fails, because the users are not yet in the database.

  The "users" file doesn't support spaces in the usernames.  But the database queries support spaces just fine.

  Alan DeKok.




More information about the Freeradius-Users mailing list