Dusty Doris freeradius at
Mon Feb 13 02:46:55 CET 2006

> hi
> I want to use php-scripts for AAA, in freeradius.
> if u have any idea tell me
> pezhman Lali

Use the rlm_exec module.


in radiusd.conf add something like this to the modules section.  Read the 
comments in radiusd.conf they tell you what it all means.

         exec authphp {
                 wait = yes
                 program = "${raddbdir}/authorize.php"
                 input_pairs = request
                 output_pairs = request

in authorize section (or wherever you want it) call that module

authorize {
   authphp {
     fail = reject

Make sure you give the path to php in the script and make it executable


More information about the Freeradius-Devel mailing list