<div><div><div>Hi everyone! <br>
<br>
Thank your for your answers...<br>
Alan, Patric has totally right. I've set the reject_delay to "0" and the result was the same.<br>
I really don't want to touch to the source code and I am sure we can find another way <br>
<br>
1) if there is a server timeout, is it assumed as an Access-reject (or does the user will be given access ?)<br>
2) for instance, executing a script from another language which exit 2
from PHP...I tried it with a sh script and it does not work<br>
3) If I reply with a Session-Timeout := 0...may be it will be the same effect (I know it is not clean but I have no other choice<br>
4) If the previous solutions do not work, I will probably have to
change the code...so Patric, I think the name of the file has changed:
it is rlm_exec.c instead of exec.c. Also, After compiling it, could you
give some hints to uninstall the previous version and to
install the new version properly.<br>
<br>
Thank you for your comprehension.<br>
Khalid<br>
</div><span class="q"></span>ps:Sorry, I sent that email twice but the "Subject" of the previous one was wrong.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
manIP wrote:<br>> Hi,<br>><br>> I have put exit(2) but as Patric said, freeradius thinks that the script<br>> failed and does not respond to the access-request. In the client side,<br>> there is a server time out...I don't know if that server time out is
<br>> assumed as an Access-Reject?<br><br>No it does not assume an access-reject - it registers it as no response,<br>which is undesirable.<br><br>As Alan said : "It delays the Access-Reject.  See the debug output."
<br>I tried setting "reject_delay = 0" in the radius.conf but that did not help.<br><br>> May be the problem comes from PHP and I could use the UNIX system()<br>> function send back the code 2.<br><br>I believe that this specific scenario only occurs with PHP as I said
<br>before, because of the way it sends its status codes (in the exit call).<br>I don't know how else to do it, which is why I changed the code for my<br>use...<br><br>--<br><br>Q: I want to be a sysadmin.  What should I do?
<br><br>A: Seek professional help.<br><br></blockquote></div><br>