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

(ITS#4337) inserting a bdb instance

Full_Name: Frank Meisschaert
Version: 2.3.17
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I have the following configuration:

  dn: olcDatabase={2}bdb,cn=config
  olcSuffix: ou=applications,dc=UGent,dc=be

  dn: olcDatabase={3}bdb,cn=config
  olcSuffix: ou=groups,dc=UGent,dc=be

  dn: olcDatabase={4}bdb,cn=config
  olcSuffix: dc=UGent,dc=be

Now I want to add a new database serving a new tree without stopping the

  dn: olcDatabase=bdb,cn=config
  olcSuffix: ou=mail,dc=UGent,dc=be

Just adding it gives the expected error: <olcSuffix> namingContext
"ou=mail,dc=UGent,dc=be" already served by a preceding bdb database serving

Using {X} doesn't help: adding 'dn: olcDatabase={4}bdb,cn=config' results in an
"Already exists" error. Next solution: first ldapmodrdn from {4} to {5} and then
use adding of {4}. The modify operation succeeds but nothing is moved. So we are
back at square one.

Just for completeness I tried to remove instance {4} in order to (re-)add the
'ou=mail,dc=UGent,dc=be' and 'dc=UGent,dc=be' databases in order but got an
'unwilling to perform'.

So could you add a mechanism to insert a database in the middle of the list of
databases or is such a mechanism already present and have I looked over it?

Kind Regards,