Username in MySQL with regexp

christian meutes christian.meutes at
Mon Jul 3 13:55:19 CEST 2006

Hello list,

iam using FreeRADIUS-1.0.5 with MySQL-Backend. Now i want a username check 
with an regexp operator (=~), so that i can match usernames (+1234567(0-9)) 
against a regexp of "^\+^1234567" and dont have the need of creating 10 
users which have all the same reply attributes. The Auth-Type of these 
usernames is always "Accept".
How can i accomplish this? The username itself in the MySQL table doesnt 
has a check row..

Thanks for any help!

Christian Meutes
systems engineer
claranet gmbh   internet service provider
tel   +49 (0) 69  - 40 80 18 - 300
email: christian.meutes at

More information about the Freeradius-Users mailing list