Hi,<br>Wiki page of fail-over suggest<br><pre><font size="4">authorize {
preprocess
redundant {
sql1
sql2
notfound = return
}
files
}<br></font><br></pre><br>I am trying to do similar but radius is giving error<br> group {<br> redundant {<br> ldap_primary<br><span style="color:rgb(255,0,0)"> fail = return</span> <-----<span style="background-color:rgb(255,0,0)"><b>Entry with no value is invalid</b></span><br>
}<br> if(fail){<br> files_local<br> }<br> else {<br> files<br> }<br> }<br><br>Why this could be ? <br><br><br><div class="gmail_quote">On Fri, Mar 15, 2013 at 6:13 PM, Olivier Beytrison <span dir="ltr"><<a href="mailto:olivier@heliosnet.org" target="_blank">olivier@heliosnet.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 15.03.2013 12:08, Chitrang Srivastava wrote:<br>
> Hi,<br>
><br>
</div>> I want to do something like this in *authorize* section<br>
><br>
<br>
ldap {<br>
fail = return<br>
}<br>
if(fail) {<br>
files_local<br>
}<br>
else {<br>
files<br>
}<br>
<br>
something like that should work. The ldap module will fail if the<br>
servers are unreachable.<br>
<span class="HOEnZb"><font color="#888888"><br>
Olivier<br>
--<br>
<br>
Olivier Beytrison<br>
Network & Security Engineer, HES-SO Fribourg<br>
Mail: <a href="mailto:olivier@heliosnet.org">olivier@heliosnet.org</a><br>
</font></span><div class="HOEnZb"><div class="h5">-<br>
List info/subscribe/unsubscribe? See <a href="http://www.freeradius.org/list/users.html" target="_blank">http://www.freeradius.org/list/users.html</a><br>
</div></div></blockquote></div><br>