|
|
|
Yes, it' a goog solution.
JNDI API (since jdk 1.4.1) can support multiple urls for LDAP connection. So, it's JNDI API who treats the problem. You can see the example in http://java.sun.com/products/jndi/tutorial/ldap/misc/url.html It is very usefull for LDAP authentication and LDAP getattributes Suns docs aren't clear, are the manager DN & Password shared between all the
servers when using this feature? Yes.
I Use this url with olg LDAP method in my personDirs.xml : with manager DN and password, and that work's fine, even if the first ldap Pushing issue back. Hope we can still get to this for the RC.
There's 2 patchs, for LdapServices.java and LdapServerImpl.java :
if a tag <url> is present in ldap.xml, so it replace tags <host>, <port> and <protocol> example : | |||||||||||||||||||||||||||||||||||||||||||||||||||||
connecting code in LdapServerImpl do automatic fail over on failed connection
attempts. This should provide the desired functionality if I understand the
request correctly. Let me know if that sounds like a good solution for you.