regex not evaluated?

Alan DeKok aland at deployingradius.com
Fri Aug 7 11:35:47 CEST 2009


Marlon Duksa wrote:
> Hi - does anyone know why this does not work:
> 
> 
> basic-TP    User-Password == "csetestp"
>             User-Name =~ "^([aA-zZ]+)-([aA-zZ]+)$",

$ man users

  or

$ man 5 users

  The '=~' operator is not allowed to be used there.

  If you want that functionality, use "unlang" to write the rules.

  Alan DeKok.



More information about the Freeradius-Users mailing list