Something like this seems to be working<br> group <b>{</b><br> <b>fail =1 -> is this OK ?</b><br> redundant {<br> ldap_primary<br> ldap_secondary<br> }<br>
<b>}</b><br> if(fail){<br> files_local<br> }<br> else {<br> files<br> }<br><br><div class="gmail_quote">On Mon, Mar 25, 2013 at 7:53 PM, Chitrang Srivastava <span dir="ltr"><<a href="mailto:chitrang.srivastava@gmail.com" target="_blank">chitrang.srivastava@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is what wiki page says to do<br><pre><font size="4"><div class="im">authorize {
preprocess
redundant {
sql1
sql2
notfound = return
}
files
}<br></div><font size="4">I am trying similar stuff</font><br></font></pre><div class="HOEnZb"><div class="h5"><br><br><div class="gmail_quote">On Mon, Mar 25, 2013 at 7:13 PM, Alan DeKok <span dir="ltr"><<a href="mailto:aland@deployingradius.com" target="_blank">aland@deployingradius.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Chitrang Srivastava wrote:<br>
> Even with ldap_secondary I get same error<br>
> redundant {<br>
> ldap_primary<br>
> ldap_secondary<br>
> fail = 1<br>
> }<br>
<br>
</div> Read doc/configurable_failover, and "man unlang".<br>
<br>
This is documented. Yout can't just randomly insert things into the<br>
configuration files.<br>
<span><font color="#888888"><br>
Alan DeKok.<br>
</font></span><div><div>-<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>
</div></div></blockquote></div><br>