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

Re: database glue with 2.3.4 [auf Viren überprüft]

Hans Moser wrote:


2.3's man slapd.conf tell nothing about "subordinate" databases.
If it's in slapd.conf, it's ignored.
[It would be desirable to a have clear hint, that it is not working anymore, when "subordinate" exists in slapd.conf - i.e. while updating from 2.2. to 2.3!]

I found the faq-o-matic entry to the glue-overlay.
-> http://www.openldap.org/faq/data/cache/1195.html

It does not help me much...
man slapo-glue(5) is also not quiet exploratory.

While 2.2. (just) only needs a "subordinate" entry, which is explained in man slapd.conf(5), 2.3. needs a - not yet well explained - overlay configuration, this information lack should be closed. Glueing database is a IMHO somewhat basic function to openldap.

Could someone please send a short configuration example for the overlay-glue?
[and post it to the faq-o-matic as well...]

"subordinate" was not quite a "basic" function, not more basic than using overlays, though. To obtain the same behavior of glueing you need to:

database xxx
suffix "cn=sub,<SUFFIX>"

database yyy
suffix "<SUFFIX>"

database xxx
suffix "cn=sub,<SUFFIX>"

database yyy
suffix "<SUFFIX>"
overlay glue
glue-sub "cn=sub,<SUFFIX>"

i.e. the "subordinate" in each subordinate is replaced by a "glue-sub <DN>"; first of all, an "overlay glue" must be used to install the glue overlay.

I suggest you file an entry in the FAQ after playing a bit with it. I'm too biased towards its internals to do something useful that is not too technical.


SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497