Hello Tim -
For this type of problem you are better off writing a PreClientHook that walks the attribute list looking for whatever and sets a pseudo-attribute in the request that you can then process with a Handler. regards Hugh On Sat, 27 Apr 2002 21:53, Timothy G. Wells wrote: > Hi Hugh, > > The handler fails to see because the attribute is set to the last item > seen. May I suggest it be placed into an array or a string with all items > separated by a comma? > > -- Tim > > -----Original Message----- > > >From: "Hugh Irvine"<[EMAIL PROTECTED]> > >Sent: 4/27/02 4:23:47 AM > >To: "Timothy G. Wells"<[EMAIL PROTECTED]>, > > "[EMAIL PROTECTED]"<[EMAIL PROTECTED]> Subject: Re: (RADIATOR) > > How to get to particular attribute if set multiple times in radius > > packet > > > >Hello Tim - > > > >You will have to write a hook that walks the attribute list. > > > >What happens if you try the Handler that you describe? > > > >regards > > > >Hugh > > > >On Sat, 27 Apr 2002 13:53, Timothy G. Wells wrote: > >> Greetings, > >> > >> I'm sorry to hit with so many questions but I'm finally getting time > >> to put in to Radiator. If a radius packet comes to Radiator and it's > >> name is duplicated, how do I get to a particular part? For instance > >> if I look at %{Service_info} I would get "TX" where I really wish I > >> could see "NGood-News-Internet-Service". I want to use this result as > >> part of a Handler clause. > >> > >> Thanks, > >> > >> -- Tim > >> > >> > >> > >> Acct-Input-Packets = 2214545 > >> Acct-Output-Packets = 2439822 > >> Framed-Protocol = PPP > >> Service-Info = "NGood-News-Internet-Service" > >> Service-Info = "Urwells" > >> Service-Info = "TX" > >> Acct-Delay-Time = 0 > >> Proxy-State = 19c3 > >> > >> === > >> Archive at http://www.open.com.au/archives/radiator/ > >> Announcements on [EMAIL PROTECTED] > >> To unsubscribe, email '[EMAIL PROTECTED]' with > >> 'unsubscribe radiator' in the body of the message. > > > >-- > >Radiator: the most portable, flexible and configurable RADIUS server > >anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. > >- > >Nets: internetwork inventory and management - graphical, extensible, > >flexible with hardware, software, platform and database independence. > >=== > >Archive at http://www.open.com.au/archives/radiator/ > >Announcements on [EMAIL PROTECTED] > >To unsubscribe, email '[EMAIL PROTECTED]' with > >'unsubscribe radiator' in the body of the message. -- Radiator: the most portable, flexible and configurable RADIUS server anywhere. Available on *NIX, *BSD, Windows 95/98/2000, NT, MacOS X. - Nets: internetwork inventory and management - graphical, extensible, flexible with hardware, software, platform and database independence. === Archive at http://www.open.com.au/archives/radiator/ Announcements on [EMAIL PROTECTED] To unsubscribe, email '[EMAIL PROTECTED]' with 'unsubscribe radiator' in the body of the message.