--On Friday, January 21, 2022 8:14 AM +0100 Ulrich Windl Ulrich.Windl@rz.uni-regensburg.de wrote:
Independent of this problem I wonder whether it is possible (proper access rights assumed) to compare the contents of all mirroring servers via LDAP efficiently.
One issue is that would require putting all systems into read only mode so that no changes occur during whatever process is written to determine consistency. The other issue is the size of the database. Trivial for small databases, not trivial for databases with millions of objects and attributes.
It seems the seemingly random order of entries and attributes is the major obstacle when searching just "for everything". Also an operation like "resync fully from ServerID X" would seem to be a nice idea.
See the slapd(8C) man page, -c option.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com