Pattern Matching in users file

Alan DeKok aland at deployingradius.com
Sat Sep 16 23:20:42 CEST 2006


"Garber, Neal" <Neal.Garber at energyeast.com> wrote:
> > You can use the "hints" file to do what you want.  It does *not* say
> > you can only use prefix & suffix matching.
> 
> I was referring to the following in the sample hints file:

  Which says you *can* use them.  It doesn't say you *can'*t use anything else.

> DEFAULT Cisco-AVPair == "", My-Group := "RadioIP-MAU"
> DEFAULT Cisco-AVPair == "ssid=(.*)", My-Group := "Wireless %{1}"
> DEFAULT My-Group := "Unknown source"

  The first line matches a request.

  The second, and subsequent lines, add attributes to the request.

  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