Rewriting/Filtering Attributes based upon NAS-IP or NAS-Port-Type

Alan DeKok aland at nitros9.org
Mon May 15 05:14:36 CEST 2006


"Bill Carr" <bcarr at commsolutions.com> wrote:
> I need to (preferably based on NAS-Port-Type) look for an existing
> Filter-ID (passed from OpenLDAP) and remove it, but replace that
> attribute with three attributes to support RFC3580

  Why?  It's almost always easier to do the right thing in the first
place, rather than doing something wrong and then trying to correct it.

> I saw the doc files on attr_rewrite but have been googling and
> searching from some example of how I implement this within the
> DEFAULT realm.

  You match on the realm name.

  Alan DeKok.



More information about the Freeradius-Users mailing list