Change RAD_REPLY item in rlm_perl, not add a new pair

Boian Jordanov bjordanov at orbitel.bg
Sun Aug 13 20:08:28 CEST 2006


On Friday 11 August 2006 20:18, Alex French wrote:
> Hi,
>
> Does anyone know if anything was done on the issue below? I'm looking for
> this functionality too, and I'd prefer not to have to recompile the module
> if the feature is available in HEAD or similar (although I can't see
> that...).

No sorry,
but i can give you a patch if you want off course. 

>
> Thanks,
>
> Alex
>
> On 22/06/06, Kenneth Marshall <ktm at is.rice.edu> wrote:
> > On Thu, Jun 22, 2006 at 09:58:54AM +0300, Boian Jordanov wrote:
> > > Maybe passing a HASH ref for hash which contains the Operator key and
> >
> > the vp
> >
> > > item too will be a good idea. For example
> > >
> > > $hash{'Tunnel-Id'} = "visitor";
> > > $hash{'Operator'} = ":=";
> > > $RAD_REPLY{'Tunnel-Id'} = \%hash;
> > >
> > > This way we will not change existing behavior.
> >
> > I like this. One key feature missing in rlm_perl was the ability
> > to substitute values in attribute pairs, not just add a new one.
> >
> > Ken
> > -
> > List info/subscribe/unsubscribe? See
> > http://www.freeradius.org/list/users.html

-- 
Best Regards,
Boian Jordanov
SNE
Orbitel - Next Generation Telecom
tel. +359 2 4004 723
tel. +359 2 4004 002



More information about the Freeradius-Users mailing list