Quanah Gibson-Mount wrote:
--On Thursday, July 16, 2020 2:11 PM +0100 Norman Gray gray@nxg.name wrote:
Greetings.
Documentation such as [1] notes that there is a one-to-one correspondence between slapd.conf directives and slapd-config database attributes. However it's not always completely clear just what the mapping is.
See bugs: 5915, 6277, 7335, 8742
Patches welcome where appropriate.
For example, both [2] and slapo-syncprov(5) describe syncprov-checkpoint. This corresponds to the attribute olcSpCheckpoint, but I can't find where it is I learned that mapping (I probably stumbled across it via [3]), so can't point to chapter and verse in my own documentation and notes.
I would have thought the documentation for the olcSyncProvConfig objectClass would explain this, but I can't find any such documentation, nor even a schema for that objectClass [4].
Overlay objectClasses are defined in the code for the overlay.
https://git.openldap.org/openldap/openldap/-/blob/master/servers/slapd/overlays/syncprov.c#L3160
All of the schema is always retrievable from slapd itself, either by querying cn=Subschema or cn=schema,cn=config.