[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
syncrepl and multiple databases (ITS#3379)
Full_Name: Janusz Grabowski
Version: 2.2.18
OS: linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.110.121.9)
I'm experiencing problems with syncrepl on openldap 2.2.18.
My configuration uses three suffixes with three different databases, suffixes
aren't related to each other. Master server works just fine, but when I try to
configure replication of this suffixes on the slave (syncrepl) only the first
defined in slapd.conf works. Synchronization of other two suffixes never occures
and slapd sets up glue entries (objectclass: glue) for that broken suffixes.
Similar problem was reported allready - ITS#3133
My configuration is as follows (only database configurations):
--- Master CUT HERE ---
[...]
database bdb
suffix "o=test1"
rootdn "cn=Manager,o=test1"
rootpw secret
directory /usr/local/openldap-2.2.18/var/openldap-data1
index objectClass eq
database bdb
suffix "o=test2"
rootdn "cn=manager,o=test2"
rootpw secret
directory /usr/local/openldap-2.2.18/var/openldap-data2
index objectClass eq
database bdb
suffix "o=test3"
rootdn "cn=manager,o=test3"
rootpw secret
directory /usr/local/openldap-2.2.18/var/openldap-data3
index objectClass eq
--- Master CUT HERE ---
--- Slave CUT HERE ---
database bdb
suffix "o=test1"
rootdn "cn=Manager,o=test1"
rootpw secret
directory /usr/local/openldap-2.2.18/var/openldap-data1
index objectClass eq
syncrepl rid=1
provider=ldap://master
updatedn="cn=Repman,o=test1"
binddn="cn=Manager,o=test1"
bindmethod=simple
credentials=secret
searchbase="o=test1"
filter="(objectClass=*)"
attrs="*"
schemachecking=off
scope=sub
type=refreshAndPersist
retry="60 10 300 20"
database bdb
suffix "o=test2"
rootdn "cn=manager,o=test2"
rootpw secret
directory /usr/local/openldap-2.2.18/var/openldap-data2
index objectClass eq
syncrepl rid=2
provider=ldap://master
updatedn="cn=repman,o=test2"
binddn="cn=manager,o=test2"
bindmethod=simple
credentials=secret
searchbase="o=test2"
filter="(objectClass=*)"
attrs="*"
schemachecking=off
scope=sub
type=refreshAndPersist
retry="60 10 300 20"
database bdb
suffix "o=test3"
rootdn "cn=manager,o=test3"
rootpw secret
directory /usr/local/openldap-2.2.18/var/openldap-data3
index objectClass eq
syncrepl rid=3
provider=ldap://master
updatedn="cn=repman,o=test3"
binddn="cn=manager,o=test3"
bindmethod=simple
credentials=secret
searchbase="o=test3"
filter="(objectClass=*)"
attrs="*"
schemachecking=off
scope=sub
type=refreshAndPersist
retry="60 10 300 20"
--- Slave CUT HERE ---