<div dir="ltr"><div dir="ltr">On Sat, Jun 15, 2019 at 6:01 AM Ignacio Amoeiro Bosch <<a href="mailto:ignacio.amoeiro@extern.ibsalut.es" target="_blank">ignacio.amoeiro@extern.ibsalut.es</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="ES">
<div class="m_2637611664433802227gmail-m_-6361546366907935131WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have configured two ldap directories for authentication following the documentation (<a href="https://wiki.shibboleth.net/confluence/display/IDP30/LDAPAuthnConfiguration#LDAPAuthnConfiguration-ExamplefortwoActiveDirectorieswithtwoDNResolversforeach" target="_blank">https://wiki.shibboleth.net/confluence/display/IDP30/LDAPAuthnConfiguration#LDAPAuthnConfiguration-ExamplefortwoActiveDirectorieswithtwoDNResolversforeach</a>).
It works fine, but when one of the directories is down then it stop authentication although the user i’m triing to authenticate his LDAP server is up. ¿How I can resolve that? I have read ldaptive documentation, and can’t found how to solve it.<br></p></div></div></blockquote><div><br></div><div>The aggregate DN resolver component that you're using assumes that a failure in any DN resolver should be treated as a failure in the entire DN resolution process. You could configure an active_passive connection strategy and support a third directory that is designed for failover in these circumstances. Although, I'm not sure how you would distinguish an unknown user from a user who does exist but can't be resolved because the directory is currently down. The messaging would be tricky.</div><div><br></div><div>Another option would be to use JAAS, which might have the failover characteristics you're looking for.</div><div><br></div><div>--Daniel Fisher</div><div><br></div></div></div>