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

replication problems



Here is the replica section of my slapd.conf if it helps.


# Replicas of this database #replogfile /var/lib/ldap/replica/slurpd.replog replogfile /var/lib/ldap/openldap-master-replog replica host=ldap2.otc.edu:389 suffix="dc=otc,dc=edu" binddn=(rootdn) credentials=(rootdn password) bindmethod=simple attr!=entryCSN attr!=modifiersName attr!=modifyTimestamp

replica host=ldap4.otc.edu:389
        suffix="dc=otc,dc=edu"
        binddn=(rootdn)
        credentials=(rootdn password)
        bindmethod=simple
        attr!=entryCSN
        attr!=modifiersName
	attr!=modifyTimestamp

I added the attr!= directives because slurpd wouldn't replicate those attributes. Here is a section my replogfile after running the perl script.


time: 1100010330 dn: uid=ondeckoj,ou=People,dc=otc,dc=edu changetype: modify replace: entryCSN entryCSN: 2004110914:25:30Z#0x0001#0#0000 - replace: modifiersName modifiersName: cn=Manager,dc=otc,dc=edu - replace: modifyTimestamp modifyTimestamp: 20041109142530Z -



time: 1100010330
dn: uid=ondeckoj,ou=People,dc=otc,dc=edu
changetype: modify
replace: entryCSN
entryCSN: 2004110914:25:30Z#0x0002#0#0000
-
replace: modifiersName
modifiersName: cn=Manager,dc=otc,dc=edu
-
replace: modifyTimestamp
modifyTimestamp: 20041109142530Z
-

For whatever reason, it is not building the replica lines. Here is a section from a successful replication after modifying an attribute manually.



time: 1100011837
dn: uid=crabtrej,ou=People,dc=otc,dc=edu
changetype: modify
replace: initials
initials: Q
-
replace: entryCSN
entryCSN: 2004110914:50:37Z#0x0001#0#0000
-
replace: modifiersName
modifiersName: cn=Manager,dc=otc,dc=edu
-
replace: modifyTimestamp
modifyTimestamp: 20041109145037Z
-

replica: ldap2.otc.edu:389
time: 1100011837
dn: uid=crabtrej,ou=People,dc=otc,dc=edu
changetype: modify
replace: initials
initials: Q
-

replica: ldap4.otc.edu:389
time: 1100011837
dn: uid=crabtrej,ou=People,dc=otc,dc=edu
changetype: modify
replace: initials
initials: Q
-

time: 1100011875
dn: uid=crabtrej,ou=People,dc=otc,dc=edu
changetype: modify
replace: initials
initials: P
-
replace: entryCSN
entryCSN: 2004110914:51:15Z#0x0001#0#0000
-
replace: modifiersName
modifiersName: cn=Manager,dc=otc,dc=edu
-
replace: modifyTimestamp
modifyTimestamp: 20041109145115Z
-

replica: ldap2.otc.edu:389
time: 1100011875
dn: uid=crabtrej,ou=People,dc=otc,dc=edu
changetype: modify
replace: initials
initials: P
-

replica: ldap4.otc.edu:389
time: 1100011875
dn: uid=crabtrej,ou=People,dc=otc,dc=edu
changetype: modify
replace: initials
initials: P
-


Thanks for the help.

--
Justin Crabtree
Java Programmer
Ozarks Technical Community College
799-1573