[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#4623) syncprov and glued databases: findbase failed



Full_Name: Andreas Hasenack
Version: REL_ENG_2_3 (2.3.24+)
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (200.140.247.99)


I have a provider with two databases glued together:
dc=example,dc=com
ou=global,dc=example,dc=com

One consumer has the syncrepl base search pointing to ou=global on the
provider.
The slapd.conf(5) manpage says that in this scenario, one should load the
overlays at the provider in this order:

 overlay glue
 overlay syncprov

If my provider config is as follows, however, I get a "findbase failed! 32"
error at the provider:

database bdb
suffix          "ou=global,dc=example,dc=com"
subordinate
...
database        bdb
suffix          "dc=example,dc=com"
overlay glue
overlay syncprov

Probably because there was no provider found for the ou=global database, despite
the glue?

If I add "overlay syncprov" to ou=global, it still doesn't work (same error).
Only when I also revert the overlay loading order. So, the final config that
works for the ou=global replication is:

database bdb
suffix          "ou=global,dc=example,dc=com"
subordinate
overlay syncprov
...
database        bdb
suffix          "dc=example,dc=com"
overlay syncprov
overlay glue

I was under the impression (caused by the slapd.conf(5) manpage) that one should
only need to load the syncprov overlay once, right after glue, and it would
attend to both databases. But if I do that, then I get the error I mentioned
above when attempting to replicate the subordinate database.