hi I want to use php-scripts for AAA, in freeradius. if u have any idea tell me pezhman Lali __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
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... ?>
participants (2)
-
Dusty Doris -
Pezhman Lali