Hello,<br><br><br>I'm using FreeRADIUS Version 2.1.10 and I would like to know if I can change the swith result to make something like that:<br><br>/etc/freeradius/sites-enable/default<br><br>...<br><br> switch "%{Realm}" {<br>
case 'a' {<br> sql {<br> fail = 5<br> }<br> }<br> case 'b' {<br> ldap {<br> fail = 5<br> }<br> }<br> case {<br> update reply {<br>
Codigo-Reject = Error-Dominio<br> reject<br> }<br> }<br> }<br><br> if (fail) {<br> update reply {<br> Codigo-Reject = Imposible-Contactar-Backend<br> }<br> reject<br>
}<br> elsif (notfound) {<br>
update reply {<br>
Codigo-Reject = Usuario-Desconocido<br>
}<br>
reject<br>
}<br>
...<br><br><br>Actually, if for example, sql return notfound, I can set Codigo-Reject = Usuario-Desconocido, but if sql return fail, switch return and I stop procesing the authorize section.<br><br>Thank you in advance<br>
<br><br>