--On Friday, April 9, 2021 12:05 AM +0000 thomaswilliampritchard@gmail.com wrote:
I am migrating from single provider to N-Way provider in OpenLDAP 2.4.56
This configuration was setup years ago and reading the docs has me questioning this piece of configuration. I notice we have no present configured on our syncprov overlay for our primary DB setup for delta sync. I noticed in the docs it explains
dn: olcDatabase={2}mdb,cn=config
You didn't show the suffix of this db, so one can only assume this is your primary db and not the accesslog DB?
If it is the primary db, then correct, the nonpresentflag should be FALSE, not TRUE.
As an aside, I would note that setting olcDbNosync: TRUE is exceptionally dangerous.
Next, I am testing new architecture for N-Way but see that the new context CSNs generated by those new providers also show up in the initial provider. If I want to "go back" to my original system state before my N-Way testing, can I simply delete the ContextCSNs from an exported LDIF and reload the database? Or is that asking for trouble?
You would need to delete them from the contextCSN attribute and you would need to modify any entryCSN values that refer to them to only refer to the original value. If you were single provider, that would likely be #000#.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com