Pattern Matching in users file

Alan DeKok aland at deployingradius.com
Fri Sep 15 22:57:51 CEST 2006


"Garber, Neal" <Neal.Garber at energyeast.com> wrote:
> DEFAULT         Cisco-AVPair =~ "ssid=3D(.*)", Group := "%{1}"

  You can't use the Group attribute that way.  It's for checking Unix
groups.  You'll have to create another attribute for your local groups.

> Also, the Group attribute was added to %RAD_CHECK as opposed to
> %RAD_REQUEST (Group was not an attribute in the original request).

  The "users" file is documented as behaving this way.

  If you want to add an attribute to the request, you have to use the
"hints" file.


  Alan DeKok.
--
  http://deployingradius.com       - The web site of the book
  http://deployingradius.com/blog/ - The blog



More information about the Freeradius-Users mailing list