--On Tuesday, October 10, 2023 4:43 PM +0200 Maksim Saroka <msaroka@exadel.com> wrote:
Hello,
We have a strange situation with refint and rwm overlays on ldap
replica. Looks like those overlays depend on each other and on position
in the slapd.conf file regarding database section. However refint
overlay is working in any position if rwm overlay is not specified. Here
are the examples with positions in the file:
Refint overlay work if:
1.
rwm overlay section
database section
refint overlay section
Refint overlay does not work if:
1.
database section
refint overlay section
rwm overlay section
2.
rwm overlay section
refint overlay section
database section
Could you please explain to us the root cause of that as I can't find any
explanation in the docs.
Hi,
A couple notes:
1. You really should use cn=config and not slapd.conf, as cn=config is deterministic.
2. In the first case above, "rwm" is probably ending up as a global overlay
3. In the third case above, "rwm" and "refint" are probably both ending up as global overlays
4. You never tried:
database section
rwm overlay
refint overlay
Finally, module load order can matter in certain circumstances, particularly with overlays that interact with one another. One reason why syncprov (in a replicated environment) should always be the first overlay in a database section.
--Quanah