[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: Attribute rewriting based on NAS/huntgroup?
From:       Kostas Kalevras <kkalev () noc ! ntua ! gr>
Date:       2003-07-30 22:20:12
[Download RAW message or body]

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 <pam@polynet.lviv.ua> mainly.

>
> --
> Jason Downs
> downsj@downsj.com
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

--
Kostas Kalevras		Network Operations Center
kkalev@noc.ntua.gr	National Technical University of Athens, Greece
Work Phone:		+30 210 7721861
'Go back to the shadow'	Gandalf


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic