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

Re: slapd-ldap 2.2.18



Dusty Doris wrote:

>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 the slapd-ldap man page it says the following.
>
>       uri <ldapurl>
>    LDAP server to use.  Multiple URIs can be set  in  in  a  single
>    ldapurl  argument, resulting in the underlying library automati-
>    cally call the first server of the list that responds, e.g.
>
>    uri "ldap://host/ ldap://backup-host";
>    The URI list is space- or comma-separated.
>
>in my slapd.conf file I have
>
>uri             "ldap://172.20.1.92:389/ ldap://172.20.1.249:389";
>
>When I start slapd, it gives me the following error.
>
>/usr/local/etc/openldap/slapd.conf: line 23: warning, only protocol, host
>and port allowed in "uri <uri>" line
>
>or using -d1
>
>ldap_url_parse_ext(ldap://172.20.1.92:389/ ldap://172.20.1.249:389)
>/usr/local/etc/openldap/slapd.conf: line 23: warning, only protocol, host
>and port allowed in "uri <uri>" line
>
>
It's a malformed test; you may safely ignore it.  The man page is
correct.  I suggest you file an ITS.

p.






SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497