12 Feb
2006
12 Feb
'06
8:46 p.m.
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. eg: 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 { preprocess ... authphp { fail = reject } files ... } Make sure you give the path to php in the script and make it executable eg: #!/usr/local/bin/php <? ...insertcodehere... ?>