[Date Prev][Date Next]
Re: Syncrepl: 3 simple questions
"Torsten Schlabach (Tascel eG)" <firstname.lastname@example.org> writes:
> 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 \
as result all entries are presented and in addtion a control
control: 22.214.171.124.4.1.4126.96.36.199.3 false MIQAAAA5BDRyaWQ9MDQ2LGNzbj0yMDA5MTEwMz
the base64 encoded value is the cookie, which may be used to request
2. Request a consumer
ldapsearch -Y external -ZZ -H ldap://localhost:9004 -b o=avci,c=de \
-s base contextcsn
Dieter Klünter | Systemberatung
GPG Key ID:8EF7B6C6