Hello,<br><br>configuring multiple authserver in freeradius client the client retries to authenticate a user to all authservers configured although REJECT_RC is returned. This means an unauthenticated user (wrong password, no access rights) gets retried on all other authservers:<br>
<br>line 117-119 (buildreq.c):<br><br> for (i=0; (i < aaaserver->max) && (result != OK_RC) && (result != BADRESP_RC)<br> ; i++, now = rc_getctime())<br> {<br><br>This means that only if the result is OK (login succeeded) or the result is bogus (BADRESP_RC) the login is not retried. Is this the expected behaviour? <br>
I'd expect a failover to the other authservers on return codes other than OK_RC or REJECT_RC - as those are the only real radius replies.<br><br>Could someone please also shed some light on the question:<br>Will radius_deadtime work for other requests than PW_ACCOUNTING_REQUEST, as start_time gets initialized only if request_type is PW_ACCOUNTING_REQUEST? I don't seem to get the meaning of the code here...<br>
<br>Rgds,<br>Stefan<br>