Passing regexps from SQL to unlang

Maxim S. Denisov kbessmertniy at
Mon Feb 18 17:14:36 CET 2013

Hello Mr. DeKok,

Thank you for your reply. There are many NASes in many regions and translation rules for them are different, I wanted make translation configuration using my ERP interface. Using files for this I will have to manage NAS configuration in two places and have a huge policy.conf.

Maxim Denisov

18.02.2013, в 19:53, Alan DeKok <aland at> написал(а):

>  Not really.  And it's probably not a good idea, either.  Databases are
> for storing bulk data, not policies.
>  This is the kind of thing you'd do in unlang.  Just write 5-6 rules
> with regexes.  They should catch the weird formats, and standardize
> them.  Then, insert the standardized form into the database.

More information about the Freeradius-Users mailing list