[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Specify a URI with multiple servers?



On Tue, 18 Jul 2006, Andrew E wrote:

> I'm binding to a specific URI (e.g. ldap://foo:389";) and all works well.
> 
> However, I want to specify a sequence of servers, in order, e.g.:
>   "ldap://foo:389  ldap://bar:389";
> 
> If one server is not available, then move to the next, etc.
> 
> As far as I can tell, this is not supported by the OpenLDAP API as-is -- 
> the library does not split the string on whitespace. I don't think 
> calling ldap_set_option() multiple times will help either.

It sure is supported; please provide an example of your code and the 
result.

-- 
Dave Horsfall  DTM  VK2KFU  daveh@ci.com.au  Ph: +61 2 9552-5509 (d) -5500 (sw)
Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU