DEFAULT access-reject Reply-Message

Alex M radiussupport at lrcommunications.net
Mon Dec 4 23:19:02 CET 2006


Ok, I will try to play around with that although I'm feeling that I have no
idea what I'm doing

Thanks anyway!

 

 

  _____  

From:
freeradius-users-bounces+radiussupport=lrcommunications.net at lists.freeradius
.org
[mailto:freeradius-users-bounces+radiussupport=lrcommunications.net at lists.fr
eeradius.org] On Behalf Of Garber, Neal
Sent: Monday, December 04, 2006 3:23 PM
To: FreeRadius users mailing list
Subject: RE: DEFAULT access-reject Reply-Message

 

> In your code, $RAD_REQUEST{'Module-Failure-Message'} what that variable
mean?

 

It means look in the RAD_REQUEST hash for key named
'Module-Failure-Message'.  RAD_REQUEST, RAD_CHECK and RAD_REPLY are hashes
that rlm_perl creates that contain the request, check and reply attributes
respectively.  For single-value attributes, you can test the value by
referring to the hash name and key name (as above).  If the attribute has
multiple values, then value for the requested key is an array. 

 

> Is there any doc on how to write scripts for radius?

 

FR comes with example.pl which is a sample perl script that can be called by
the rlm_perl module.  You can also find documentation for rlm_perl at the
wiki: http://wiki.freeradius.org/Rlm_perl  (the doc. says RAD_CONFIG is a
hash that is created, but I believe the code to support that was only
recently added..)

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20061204/72b774bf/attachment.html>


More information about the Freeradius-Users mailing list