Hi It seems to me that all LDAP documentation states that ldap_init(const char *defhost, int defport) can take a space-delimited list of one or more host names (optionally including a portnumber) as the defhost parameter. E.g. see http://docs.sun.com/source/816-5616-10/function.htm#20455
Even the comments in the source code above ldap_init seem to indicate this: http://lxr.mozilla.org/seamonkey/source/directory/c-sdk/ldap/libraries/libld ap/open.c#179 seem to indicate this. But I could never get this to work, so I finally looked at the source code, and sure enough, it certainly looks as if this functionality isn't implemented at all. As far as I can see, the defhost parameter to ldap_init is not parsed in any way and is just used as a "raw" hostname. Can somebody confirm or deny this? And if this is the case, can anybody explain why this functionality isn't implemented? I was really hoping to use this feature together with the reconnect option, to do some automatic failover if one of my LDAP servers went belly up... Regards, Nicholas Oxh�j
