Access-Reject in a php script

manIP manvoip at
Wed Oct 24 17:34:09 CEST 2007

Hi all!

I am using a script for the authentication and it is working well. I can
send a list of attributes without any problem.
Now I want to send an "Access-Reject" if the authentication fails but I do
not know how...I would be very grateful if someone could tell me how to do
herein is a test script:

$argv = $_SERVER['argv'];
if ( $argv[1] == "toto")
   echo "Session-Timeout:=100";
   echo "Access-Reject";  //NOT WORKING!!!!!!

Thanks a lot for your assistance
Khalid :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Freeradius-Users mailing list