[Date Prev][Date Next]
Re: Syncrepl: 3 simple questions
On Thu, 5 Nov 2009, Torsten Schlabach (Tascel eG) wrote:
1. How do I query a master for the cookie?
2. How do I query a slave for the coolie?
$ ldapsearch -xLLLH ldap://localhost/ -s base -b "dc=rutgers,dc=edu" contextCSN
Works on either a slave or a master.
3. How do I query the master in a human readable format for all changes
based on a cookie which I present?
See -E sync option, described in ldapsearch(1) man page, for the syntax
(it depends on what method you desire, for example you must choose
refreshOnly/refreshAndPersist). One completed example is at
(not sure if you'll consider it human-readable, but that's a whole
different story...it's plain text output, at least?)