Passing regexps from SQL to unlang

Alan DeKok aland at
Tue Feb 19 15:49:12 CET 2013

Maxim S. Denisov wrote:
> 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.

  Well... the server can't use regex's from SQL.

  What you can do instead is to have a script which reads SQL, and
writes a local policy.conf file.  It's not perfect, but it will work.

  Alan DeKok.

More information about the Freeradius-Users mailing list