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

Re: Synchronization/replication and testing with ldapsearch



--On Monday, November 09, 2015 3:28 PM +0000 Rebecka Gulliksson <rebecka.gulliksson@umu.se> wrote:

Hi!

I'm trying to setup an instance of slapd that supports RFC4533 (Content
Synchronization Operation) for use with a consumer that is *not* another
slapd instance.
So right now I want to test my slapd instance with 'ldapsearch' instead
of in an master-slave setup.

I'm on Mac OS X with the following in my slapd.conf:

    overlay syncprov
    syncprov-checkpoint 100 1
    syncprov-sessionlog 100

Then I use ldapsearch

    ldapsearch -x -h localhost -Esync=ro

but I get no syncCookie.
Essentially I want to achieve what has been asked (but not answered) here:
http://www.openldap.org/lists/openldap-software/200907/msg00045.html.

Is there anything else I need to add to slapd.conf or is my ldapsearch
command missing something?
Any pointers to documentation of how to set it up?

I'd suggest you use the Net::LDAPapi perl module, and read the documentation, which gives an example of a sync client and how to test with it.

--Quanah



--

Quanah Gibson-Mount
Platform Architect
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration