[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd-ldap 2.2.18
> Dieter Kluenter wrote:
>
> >Dusty Doris <openldap@mail.doris.cc> writes:
> >
> >
> >
> >>>Dusty Doris <openldap@mail.doris.cc> writes:
> >>>
> >>>
> >>>
> >>>>I am using openldap 2.2.18 with slapd-ldap backend and trying to figure
> >>>>out how to supply two ldap servers to use. Can anyone help with the
> >>>>correct syntax in the config file?
> >>>>
> >>>>
> >>>>in my slapd.conf file I have
> >>>>
> >>>>uri "ldap://172.20.1.92:389/ ldap://172.20.1.249:389"
> >>>>
> >>>>
> >>>uri "ldap://172.20.1.92:389 ldap://172.20.1.249:389"
> >>>
> >>>-Dieter
> >>>
> >>>
> >>>
> >>Thanks for the response.
> >>
> >>I tried that way, it gives me this error instead.
> >>
> >>line 24 (uri "ldap://172.20.1.92:389 ldap://172.20.1.249:389")
> >>ldap_url_parse_ext(ldap://172.20.1.92:389 ldap://172.20.1.249:389)
> >>/usr/local/etc/openldap/slapd.conf: line 24: unable to parse uri
> >>"ldap://172.20.1.92:389 ldap://172.20.1.249:389" in "uri <uri>" line
> >>
> >>
> >
> >I remember that in earlier versions of back-ldap one only could define
> >a single host and only back-meta allowed multiple hosts as value to
> >the uri statement. So there might be an erroneous entry in man
> >slapd-ldap(5).
> >
> >
> The error is in the code, not in the man; not even in the __real__ code,
> but in a malformed check at ldap_back_db_config(). This was fixed long
> ago in HEAD and apparently never backported, or the backport was lost at
> some point. I suggest the initial (working) syntax is used, and the
> (erroneous) warning ignored. I'm preparing a (trivial) patch for 2.2.18.
>
> p.
>
Thanks for looking into it, I filed the ITS report per your request in the
last email.
http://www.openldap.org/its/index.cgi/Incoming?id=3399;expression=back-ldap
-Dusty Doris