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

Re: Syncrepl: 3 simple questions



Hi!

Thanks for that ...

When I try to use anything like

-E'!sync=ro/rid=042,csn=20090928054615.449093Z#000000#000#000000'

I get

# search result
search: 2
result: 12 Critical extension is unavailable
text: critical control unavailable in context

# numResponses: 1

Does that mean, something with my ldapsearch (client side) is wrong or
does it mean something is missing on my server?

Regards,
Torsten


Dieter Kluenter schrieb:
> "Torsten Schlabach (Tascel eG)" <tschlabach@tascel.net> writes:
> 
>> Hi!
>>
>> What I would like to understand:
>>
>> 1. How do I query a master for the cookie?
>> 2. How do I query a slave for the coolie?
>> 3. How do I query the master in a human readable format for all changes
>> based on a cookie which I present?
>>
>> My apologies if these questions should have been answered by reading the
>> documentation; I did not find it there, unfortunately.
>>
>> I am sure someone who is a bit more into this can just reply with three
>> simple ldadpsearch statemenets.
> 
> 1. Request a provider 
> ldapsearch -D cn=replicator,o=avci,c=de -w secret \
> -H ldap://localhost -b o=avci,c=de -s sub \
> -E '!sync=ro/rid=042'
> 
> as result all entries are presented and in addtion a control 
> control: 1.3.6.1.4.1.4203.1.9.1.3 false MIQAAAA5BDRyaWQ9MDQ2LGNzbj0yMDA5MTEwMz
>  IwMjkwOC4yMzA2MzJaIzAwMDAwMCMwMDAjMDAwMDAwAQH/
> 
> the base64 encoded value is the cookie, which may be used to request
> changes.
> 
> 2. Request a consumer
> ldapsearch -Y external -ZZ -H ldap://localhost:9004 -b o=avci,c=de \
> -s base contextcsn
> 
> 
> -Dieter
>