-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi,
I tried to setup replication on two ldap servers : a master and a slave.
The master is configured like this (slapd.conf) :
database hdb
suffix "dc=test,dc=fr" rootdn "cn=root,dc=test,dc=fr"
[...]
overlay syncprov syncprov-checkpoint 100 10 syncprov-sessionlog 100
The slave is configured like this (slapd.conf). I tried to make a very simple setup :
syncrepl rid=001 provider=ldap://my-master:389/ searchbase="dc=test,dc=fr" bindmethod=simple binddn="cn=root,dc=test,dc=fr" credentials=password type=refreshAndPersist retry="5 +"
When I restart my slave I got this error in logfiles :
Sep 24 11:08:37 kyo slapd[2296]: syncrepl_message_to_entry: rid=001 mods check (postalAddress: value #0 provided more than once)
And replication stops.
Master and slaves are installed from debian squeeze packages :
root@kyo:/var/lib/ldap# slapd -V @(#) $OpenLDAP: slapd 2.4.23 (Sep 13 2010 07:04:08) $ @borges:/home/devel/openldap/trunk/debian/build/servers/slapd
libbdb version is 4.8.30.
Replication works well with a 2.3.20 slave, so i think i missed something on 2.4.23 slave configuration.
Thanks for your help,
- -- Nicolas Greneche - RSSI et Sysadmin Centre de Ressources Informatiques (CRI) Doctorant au sein du projet SDS - www.sds-project.fr Mail : nicolas.greneche_(at)_univ-orleans.fr GPG : http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x5FEBD0EF
Universite d'Orleans Web : http://blog.garnett.fr Batiment 3IA - 2e etage Tel : 02 38 49 25 26 6 rue Leonard de Vinci BP 6102 45061 ORLEANS Cedex 2