[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Synchronization/replication and testing with ldapsearch
- To: Quanah Gibson-Mount <quanah@zimbra.com>, "OpenLDAP, Technical" <openldap-technical@openldap.org>
- Subject: Re: Synchronization/replication and testing with ldapsearch
- From: Rebecka Gulliksson <rebecka.gulliksson@umu.se>
- Date: Tue, 10 Nov 2015 04:40:24 +0000
- Accept-language: sv-SE, en-US
- Content-id: <74EC094126E82A4495048A70136FE4D1@ad.umu.se>
- Content-language: sv-SE
- In-reply-to: <295D94C0224038248B1CC9CA@[192.168.1.9]>
- References: <D2667854.C23A%rebecka.gulliksson@umu.se> <295D94C0224038248B1CC9CA@[192.168.1.9]>
- Thread-index: AQHRGwNRuDMLuYrw4Uiu2P0o0CF69p6UBE6AgACpgIA=
- Thread-topic: Synchronization/replication and testing with ldapsearch
- User-agent: Microsoft-MacOutlook/14.5.6.150930
Thanks a lot!
The example from the Net::LDAPapi perl module
(http://search.cpan.org/dist/perl-ldap/lib/Net/LDAP/Control/SyncRequest.pm)
works flawlessly with the syncprov overlay.
---
Rebecka Gulliksson
ICT Services and System Development (ITS)
Umeå University
SE-901 87 Umeå, Sweden
rebecka.gulliksson@umu.se
www.its.umu.se
Den 09/11/15 20:33 skrev Quanah Gibson-Mount <quanah@zimbra.com>:
>--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