Re: ldap connection status

2013-03-25 Thread Chitrang Srivastava
Something like this seems to be working group *{* *fail =1 -> is this OK ?* redundant { ldap_primary ldap_secondary } *}* if(fail){ files_local } else { files

Re: ldap connection status

2013-03-25 Thread Chitrang Srivastava
This is what wiki page says to do authorize { preprocess redundant { sql1 sql2 notfound = return } files } I am trying similar stuff On Mon, Mar 25, 2013 at 7:13 PM, Alan DeKok wrote: > Chitrang Srivastava wrote: > > Even with ldap_secondary I get same e

Re: ldap connection status

2013-03-25 Thread Alan DeKok
Chitrang Srivastava wrote: > Even with ldap_secondary I get same error > redundant { > ldap_primary > ldap_secondary > fail = 1 > } Read doc/configurable_failover, and "man unlang". This is documented. Y

Re: ldap connection status

2013-03-25 Thread Chitrang Srivastava
Even with ldap_secondary I get same error redundant { ldap_primary ldap_secondary fail = 1 } On Mon, Mar 25, 2013 at 5:57 PM, Olivier Beytrison wrote: > On 25.03.2013 13:00, Chitrang Srivastava wrote: > >> I

Re: ldap connection status

2013-03-25 Thread Olivier Beytrison
On 25.03.2013 13:00, Chitrang Srivastava wrote: I am trying to do similar but radius is giving error group { redundant { ldap_primary fail = return <-*Entry with no value is invalid* } if(fail){

Re: ldap connection status

2013-03-25 Thread Chitrang Srivastava
Hi, Wiki page of fail-over suggest authorize { preprocess redundant { sql1 sql2 notfound = return } files } I am trying to do similar but radius is giving error group { redundant { ldap_primary

Re: ldap connection status

2013-03-15 Thread Olivier Beytrison
On 15.03.2013 12:08, Chitrang Srivastava wrote: > Hi, > > I want to do something like this in *authorize* section > ldap { fail = return } if(fail) { files_local } else { files } something like that should work. The ldap module will fail if the servers are unreachable. Olivier -- O

Re: ldap connection status

2013-03-15 Thread Yann Fouillat
Hi, I think you should take a look at this : http://wiki.freeradius.org/config/Fail%20over - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html