(RADIATOR) How to get to particular attribute if set multiple times in radius packet
Timothy G. Wells
Tim.Wells at goodnews.net
Sat Apr 27 06:53:00 CDT 2002
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"<hugh at open.com.au>
>Sent: 4/27/02 4:23:47 AM
>To: "Timothy G. Wells"<Tim.Wells at goodnews.net>, "radiator at open.com.au"<radiator at open.com.au>
>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 radiator-announce at open.com.au
>> To unsubscribe, email 'majordomo at open.com.au' 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 radiator-announce at open.com.au
>To unsubscribe, email 'majordomo at open.com.au' with
>'unsubscribe radiator' in the body of the message.
>
===
Archive at http://www.open.com.au/archives/radiator/
Announcements on radiator-announce at open.com.au
To unsubscribe, email 'majordomo at open.com.au' with
'unsubscribe radiator' in the body of the message.
More information about the radiator
mailing list