(RADIATOR) using the class atribute for a special purpose
Hugh Irvine
hugh at open.com.au
Fri Apr 25 16:54:11 CDT 2003
Hello Tunde -
The Class attribute is added to an access accept that is returned to
the NAS and it will be included in all subsequent accounting requests
from the NAS for the session.
There will never be a Class attribute in an access request.
The Called-Station-Id can be matched either on the exact string or on a
regular expression. Regular expressions are delimited by "/.../". Check
the Radiator reference manual and your Perl book for details.
regards
Hugh
On Friday, Apr 25, 2003, at 23:07 Australia/Melbourne, Ayotunde Itayemi
wrote:
> Hi Hugh,
>
> Still no luck. I noticed from the (attached) trace 4 debug log that
> the authentication request
> somehow skips the Class="EmailOnly" Handler and ends up being
> authenticated by the
> next handler (Client-Identifier=pattonrases) - please see attached
> radius.cfg
> The strange thing is that the accounting requests are then handled by
> the (correct) Handler !?
>
> I hope to hear from you soon.
> Please note that I have tried both
> Class="EmailOnly", Called-Station-Id=/15000/
> and
> Class="EmailOnly", Called-Station-Id="15000"
> Which is actually the correct way of specifying the the
> Called-Station-id by the way
>
> Regards,
> Tunde I.
>
>
> ----- Original Message -----
> From: Hugh Irvine
> To: Ayotunde Itayemi
> Cc: radiator at open.com.au
> Sent: Friday, April 25, 2003 12:42 AM
> Subject: Re: (RADIATOR) using the class atribute for a special purpose
>
>
> Hello Tunde -
>
> Yes this the correct approach and this is what the Class attribute is
> designed for.
>
> You will find quite a bit of discussion on the Class attribute on the
> mailing list archive.
>
> www.open.com.au/archives/radiator
>
> regards
>
> Hugh
>
>
> On Friday, Apr 25, 2003, at 05:52 Australia/Melbourne, Ayotunde
> Itayemi wrote:
>
> Hi All, Hi Hugh,
>
> I need a special variable that I can set in a particular group of
> users (email-only) records in my
> user database (an oracle table). Can I use the class atribute?
>
> I was thinking of something along the line of:
>
> Replyattr = ' Framed-Protocol = PPP,Session-Timeout="until Time",
> Class="Email-Only"'
>
>
> Then in the Handler section of my radiator config file:
>
> <Handler Class="Email-Only", Called-Station-Id=2001024>
> .... do something ...
> </Handler>
>
> .... other handlers ...
>
> The idea is to process this group of users specially before the
> general users who connect to
> the same set of NASes. Also I won't set the Class attribute for my
> other class(es) of users.
>
> Do you think this will work? Do I lose anything by using the class
> attribute this way? Thanks.
>
> Regards,
> Tunde Itayemi.
>
>
>
> NB: have you included a copy of your configuration file (no secrets),
> together with a trace 4 debug showing what is happening?
>
> --
> 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.
>
> <logfile.txt><radius.cfg>
NB: have you included a copy of your configuration file (no secrets),
together with a trace 4 debug showing what is happening?
--
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 4638 bytes
Desc: not available
URL: <http://www.open.com.au/pipermail/radiator/attachments/20030426/b4aeb7cb/attachment.bin>
More information about the radiator
mailing list