(RADIATOR) problem with getting a vendor attribute to transmit

Scott Helms khelms at zcorum.com
Mon Jun 10 15:39:19 CDT 2002


----- Original Message -----
From: "Hugh Irvine" <hugh at open.com.au>
To: "Scott Helms" <khelms at zcorum.com>; "radiator" <radiator at open.com.au>
Sent: Monday, June 10, 2002 3:42 PM
Subject: Re: (RADIATOR) problem with getting a vendor attribute to transmit


>
> Hello Scott -
>
> Have you restarted radiusd so that the new dictionary definitions are
reread?
> And if you have restarted radiusd - are you sure you edited the correct
file?

Ouch, you nailed it Hugh, wrong file, the config is pointing to
/etc/raddb.proxy/dictionary
not
/etc/raddb.proxy/conf/dictionary


>
> BTW - please send us the Roaring Penguin vendor-specifics and we will add
> them to the standard Radiator dictionary for the next release.

Here are the only two attributes they have at the moment.

# Roaring Penguin attributes for testing

VENDORATTR      10055   RP-Upstream-Speed-Limit 1       integer
VENDORATTR      10055   RP-Downstream-Speed-Limit       2       integer

Thanks,

Scott Helms

>
> regards
>
> Hugh
>
>
> On Tue, 11 Jun 2002 05:57, Scott Helms wrote:
> > This is a problem with Radiator 2.18.2 on Solaris, that has me puzzeled,
> > any help will be greatly appreciated.
> >
> > Here is the error I get when trying to use the Roaring Penguin
attributes:
> >
> > Mon Jun 10 13:57:40 2002: WARNING: No such attribute
> > RP-Upstream-Speed-Limit Mon Jun 10 13:57:40 2002: WARNING: No such
> > attribute
> > RP-Downstream-Speed-Limit
> > Mon Jun 10 13:57:40 2002: DEBUG: Packet dump:
> > *** Sending to 209.17.198.32 port 32772 ....
> >
> > This shows up, in the debug and these attributes aren't passed to the
NAS.
> >
> > However, they are in the dictionary:
> >
> > # Roaring Penguin attributes for testing
> >
> > VENDORATTR    10055   RP-Upstream-Speed-Limit           1       integer
> > VENDORATTR    10055   RP-Downstream-Speed-Limit         2       integer
> >
> >
> > Here is a snip from the realm file:
> >
> > ReplyHook sub { my $acct_type = ${$_[0]}->get_attr('Filter-Id');\
> >                 if ($acct_type eq "512") {\
> >                 ${$_[1]}->add_attr('RP-Upstream-Speed-Limit',\
> >                                         '64');\
> >
> > ${$_[1]}->add_attr('RP-Downstream-Speed-Limit',\
> >                                         '64');\
> >
> > The interesting thing is that if I replace the RP attributes with
Redback
> > (also in my dictionary) things work perfectly with no errors, and the
NAS
> > gets the attributes
> >
> > ReplyHook sub { my $acct_type = ${$_[0]}->get_attr('Filter-Id');\
> >                 if ($acct_type eq "512") {\
> >                 ${$_[1]}->add_attr('RB-Rate_Limit_Rate',\
> >                                         '64');\
> >
> > ${$_[1]}->add_attr('RB-Police_Rate',\
> >                                         '64');\
> >
> >
> >
> > Scott
> >
> >
> >
> >
> > ===
> > 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.


More information about the radiator mailing list