Regular expression in postauth section

Alan DeKok aland at
Mon Jun 28 13:33:59 CEST 2010

JOE wrote:
> Hi all
> Is possible to add a regular expression to the postauth section as follows?:
>   Post-Auth-Type REJECT {
>                       if(%{User-Name}=="test") {

  Hmmm... that isn't a regular rexpression.

  And see "man unlang".  You can add statements pretty much anywhere.

  Alan DeKok.

More information about the Freeradius-Users mailing list