[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: multiple backends same tree
Michael Pelletier <mpelletier@intechjanus.com> writes:
> Can you send a config example. I had the same problem...
> On Monday 24 July 2006 09:37, Dieter Kluenter wrote:
>> Denis Gaertner <denis_gaertner@gmx.net> writes:
>> > Hi,
>> >
>> > I got a question about backends. Is it possible to have a tree served by
>> > a Backend and a subtree of this tree by another Backend?
>> >
>> > so maybe
>> >
>> > database bdb
>> > suffix "dc=localdomain"
>> >
>> > database shell
>> > suffix "ou=people,dc=localdomain"
>> >
>> > I've tried but didn't work. Is there a possibility to do it because it
>> > would be a useful feature in our environment.
>>
>> You have to glue both databases and declare the shell database as
>> subordinate to bdb database.
>>
database shell <or whatever database>
suffix "ou=people,dc=localdomain"
rootdn cn=manager,dc=localdomain
<no rootpw>
subordinate
<more configuration parameters<
database bdb
suffix dc=localdomain
rootdn cn=manager,dc=localdomain
rootpw
<more configuration paramters>
For more information see man slapd.conf(5), in particular on glue
overlay.
-Dieter
--
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6