[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
(ITS#4676) Incorrect replog format
Full_Name: Daniel Mróz
Version: 2.3.27
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (217.17.39.4)
It seems that replication log generated by version 2.3.27 doesn't include the
'replica: <hostname>' line, so slurpd yelds about 'not mine' records and
replication doesn't work. If I manually add those lines everything works ok,
till the next db alteration on master server.
Replica configuration on master server:
replica uri=ldaps://example.slave.org
suffix="dc=example,dc=org"
binddn="cn=replicator,dc=example,dc=org"
bindmethod=simple credentials=somepassword
replogfile /var/lib/openldap-slurp/log
Replica configuration on slave server:
[in db section]
updatedn "cn=replicator,dc=example,dc=org"
Error log entry for slurpd:
Replica example.slave.org:389, skip repl record for
cn=blah,ou=foo,dc=example,dc=org (not mine)
Example replica logs:
time: 1158769062
dn: cn=blah,ou=foo,dc=example,dc=org
changetype: modify
replace: description
description: Blah blah blah
-
replace: entryCSN
entryCSN: 20060920161742Z#000000#00#000000
-
replace: modifiersName
modifiersName: cn=manager,dc=example,dc=org
-
replace: modifyTimestamp
modifyTimestamp: 20060920161742Z
-
time: 1158769257
dn: cn=blah,ou=foo,dc=example,dc=org
changetype: modify
replace: description
description: Some description
-
replace: entryCSN
entryCSN: 20060920162057Z#000000#00#000000
-
replace: modifiersName
modifiersName: cn=manager,dc=example,dc=org
-
replace: modifyTimestamp
modifyTimestamp: 20060920162057Z