Rewriting/Filtering Attributes based upon NAS-IP or NAS-Port-Type
I'm sure other have this problem, I've got Free-Radius Running for Wired Users against an OpenLDAP database, but need to now add some functionality for my Wireless Users. 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 Basically if the port is "Wireless", I want to trigger VLAN moves based upon the Filter ID already existing (and passed) by OpenLDAP. 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. Anybody with an example or insight into how this be accomplished, THANKS in ADVANCE!! Bill
"Bill Carr" <bcarr@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.
participants (2)
-
Alan DeKok -
Bill Carr