manIP wrote: > 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 so. > herein is a test script: > > #!/usr/bin/php > <?php > $argv = $_SERVER['argv']; > if ( $argv[1] == "toto") > echo " Session-Timeout:=100"; > else > echo " Access-Reject"; //NOT WORKING!!!!!!
It's not documented as doing that. Have the script return an error, and no output. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html