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

problem with multiple replica



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 replica, 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. 

Vincent


-- 
Vincent MATHIEU                 
CRI - Universite NANCY 2            | Email : Vincent.Mathieu@univ-nancy2.fr
Pole Lorrain de Gestion             | Tel   : (33) 03.83.39.64.06
13, Rue Michel Ney - C.O. 75        | Fax   : (33) 03.83.39.64.43
54013 Nancy Cedex.   FRANCE