[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: slapd-ldap 2.2.18
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).
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:01443B53