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

pb with multiple replica (ITS#2224)



Full_Name: Vincent MATHIEU
Version: 2.1.8
OS: Redhat 7.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.48.252.85)


I'm using openldap-2.1.8 with the last version of backglue.c and database.c

Here is the configuration of a ldap server :

database monitor

#  a slave backend. no problem
database	ldbm
suffix		"ou=etudiants,dc=univ-nancy2,dc=fr" 
subordinate
....

# a master backend
database	ldbm
suffix		"ou=pers,dc=univ-nancy2,dc=fr" 
subordinate
...
replogfile /home/ldap/ldap392/replog/repfile

replica host=isis.univ-nancy2.fr:392 bindmethod=simple 
binddn=cn=adminSlave,ou=pers,dc=univ-nancy2,dc=fr credentials=xxx

replica host=osiris.univ-nancy2.fr:392 bindmethod=simple
binddn=cn=adminSlave,ou=pers,dc=univ-nancy2,dc=fr credentials=xxx

replica host=etumel.univ-nancy2.fr:392 bindmethod=simple
binddn=cn=adminSlave,dc=univ-nancy2,dc=fr credentials=xxxxx

replica host=servetud.univ-nancy2.fr:392 bindmethod=simple
binddn=cn=adminSlave,dc=univ-nancy2,dc=fr credentials=xxxxx

replica host=ldap.iuta.univ-nancy2.fr:392 bindmethod=simple
binddn=cn=adminSlave,dc=univ-nancy2,dc=fr credentials=xxxx

# a backend who contains only an entry
database	ldbm
suffix		"dc=univ-nancy2,dc=fr"


The replica mechanism work's perfectly, but ...
If an error occurs with the first réplica, isis.univ-nancy2.fr (for example, a
bad port tcp), a reject file is created in directory replica
(isis.univ-nancy2.fr:392.rej)

If an error occurs with another replica, no reject file is created.