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

RE: OPENLDAP SYNCREPL



--On Tuesday, March 13, 2012 1:12 PM -0400 "Borresen, John - 0442 - MITLL" <john.borresen@ll.mit.edu> wrote:

Thanks, Quanah;

As requested:

cn=config]# ll
total 140
-rw------- 1 ldap ldap   398 Jan 24 11:28 cn=module{0}.ldif
-rw------- 1 ldap ldap   398 Feb  8 14:02 cn=module{1}.ldif
-rw------- 1 ldap ldap   397 Feb 21 09:06 cn=module{2}.ldif
-rw------- 1 ldap ldap   399 Feb 24 12:32 cn=module{3}.ldif

You really don't need 4 separate files. ;) Use my cn=module{0}.ldif as a template for fixing yours. ;)

I would also note that you're using delta-syncrepl, not syncrepl, and you failed to provide any of the configuration for the accesslog DB on the provider. My guess is that is the actual source of the error you are encountering. I.e., my guess is that you never loaded the syncprov overlay on the master's accesslog DB, which is also required.


Here's an example configuration from my master's cn=accesslog configuration for the syncprov overlay there. Note that they *do* differ between your primary DB and your accesslog DB.

root@zre-ldap002:/opt/zimbra/data/ldap/config/cn=config# ls olcDatabase\=\{2\}mdb
olcOverlay={0}syncprov.ldif
root@zre-ldap002:/opt/zimbra/data/ldap/config/cn=config# cat olcDatabase\=\{2\}mdb/olcOverlay\=\{0\}syncprov.ldif
# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify.
# CRC32 fd177258
dn: olcOverlay={0}syncprov
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: {0}syncprov
olcSpNoPresent: TRUE
olcSpReloadHint: TRUE
structuralObjectClass: olcSyncProvConfig
entryUUID: e97228d0-edf0-1030-98ed-dbd1519e60e2
creatorsName: cn=config
createTimestamp: 20120217202252Z
entryCSN: 20120217202252.161808Z#000000#000#000000
modifiersName: cn=config
modifyTimestamp: 20120217202252Z

--Quanah


--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration