Multiple backends on same slapd

Bob Shafer (bshafer@du.edu)
Thu, 22 Aug 1996 13:54:07 -0600 (MDT)

It seems apparent from the following statement that one can have
different backends for differing suffixes in slapd.

----------------
suffix <dn suffix>

This option specifies the DN suffix of queries that will be passed to this backend database. Multiple suffix
lines can be given, and at least one is required for each database definition.
Example:
suffix "o=University of Michigan, c=US"
Queries with a DN ending in "o=University of Michigan, c=US" will be passed to this backend.
Note: when the backend to pass a query to is selected, slapd looks at the suffix line(s) in each database
definition in the order they appear in the file. Thus, if one database suffix is a prefix of another, it must
appear after it in the config file.

----------------

I am confused about how to accomplish this. I've tried various configuration
files and have not succeeded, yet.

First of all, it appears that it is necessary to build the db's individually.
Is that the case?

Finally, does anyone have an example of a slapd.conf that works with
multiple backends? It'd sure help to see one.

Thanks,

Bob Shafer
University of Denver