Regx Question

Mike Mitchell mitchell.michael at bigpond.com
Wed Nov 16 05:30:22 CET 2005


Yes, but you missed one important little detail...

use =~
not ==

and as Alan suggested, read the man page where you'll find all sorts of
usefull information like:

     Attribute =~ Expression
          As a check item, it matches if the request contains  an
          attribute  which  matches the given regular expression.
          This operator may only be applied to string attributes.
          Not allowed as a reply item.


:)

cheers,
Mike
 
> 
> Thanks Alan
> 
> >  Reading the "man" page for the "users" file would help, 
> too.  You're 
> >not doing regular expression matching at all.
> >
> >DEFAULT         Called-Station-Id =~ "198334115$", Proxy-To-Realm :=
> >"xxxx.com"
> >  




More information about the Freeradius-Users mailing list