Hi list, I've a openldap as metadirectory with the following configuration
database meta suffix "dc=example,dc=org" rootdn "cn=admin,dc=example,dc=org" rootpw ""
uri "ldap://ldap1.example.org/ou=ldap1,dc=example,dc=org" suffixmassage "ou=ldap1,dc=example,dc=org" "ou=ldap1,dc=foo,dc=org"
uri "ldap://ldap1.example.org/ou=ldap2,dc=example,dc=org"
suffixmassage "ou=ldap2,dc=example,dc=org" "ou=ldap2,dc=foo,dc=org"
when one of the remote servers (ldap1.example.org or ldap2.example.org) is down and i do a ldapsearch (with base = dc=example,dc=org ) the following message appears: " 52 server is unavailable " and no search result return. This behavior is normal? or i should have the search return of the other server?
thanks! Martin
__________________________________________________ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas
Martin Montero wrote:
when one of the remote servers (ldap1.example.org or ldap2.example.org) is down and i do a ldapsearch (with base = dc=example,dc=org ) the following message appears: " 52 server is unavailable " and no search result return. This behavior is normal? or i should have the search return of the other server?
The behavior you report was common in early versions of OpenLDAP. The lastest 2.3 (and most of the 2.3 series) do not behave like that, unless you set "onerr stop".
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it --------------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Email: pierangelo.masarati@sys-net.it ---------------------------------------
openldap-software@openldap.org