radius proxy senario

Alan DeKok aland at deployingradius.com
Mon Mar 9 08:10:21 CET 2009


piston wrote:
> I'm putting the following code under /etc/freeradius/site-available/default, authorize section just after preproccess
> 
>  if (User-Name =~ "^ABC\/") {

 That is not a valid regular expression.  See "man unlang" for the form
of regular expressions:

	if (User-Name =~ /^ABC\//) {

>                 update control {
>                 Realm == "%another_realm"}

  That is not a valid variable expansion.  See "man unlang", VARIABLES
section for examples of valid variable references.

  Alan DeKok.



More information about the Freeradius-Users mailing list