Php module error in v3
Alan Buxey
alan.buxey at gmail.com
Wed Feb 7 17:57:44 CET 2018
works here (this is with 3.0.16)
config has:
update control {
Auth-Type := `/bin/php -f /usr/local/etc/raddb/rad_check.php`
}
script is:
<?php
echo "Accept";
exit;
?>
and output is:
(0) # Executing section authorize from file
/usr/local/etc/raddb/sites-enabled/default
(0) authorize {
(0) update control {
(0) Executing: /bin/php -f /usr/local/etc/raddb/rad_check.php:
(0) Program returned code (0) and output 'Accept'
(0) Auth-Type := Accept
(0) } # update control = noop
NB this comes back as noop - as expected - and not invalid as you got.
alan
More information about the Freeradius-Devel
mailing list