On Wed, 30 Jul 2003, Jason Downs wrote:

> This might be a stupid question, but I am just not seeing it...
>
> I've looked over all of the documentation, the code, searched through the
> archives, etc.  I'm just going to have to come right out and ask at this point.
>
> Is it possible to cause an attribute rewrite rule to only be used when the
> packet is coming from a particular NAS-IP-Address / huntgroup?
>
> Let's say that you need to add '@foo.com' (if it's not present) to User-Names
> coming from the NAS 1.2.3.4...  Possible?

Yes, see doc/Autz-Type

something like:


DEFAULT NAS-IP-Address == 1.2.3.4, Autz-Type := Rewrite

autztype Rewrite {
        attr_rewrite
}

>
> (On a side note, who is in charge of the rlm_ldap module?  I have a patch for
> them to look at.)

Me and Adrian Pavlykevych <[EMAIL PROTECTED]> mainly.

>
> --
> Jason Downs
> [EMAIL PROTECTED]
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]       National Technical University of Athens, Greece
Work Phone:             +30 210 7721861
'Go back to the shadow' Gandalf

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to