(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) OpenLDAP Software FAQ : (Category) Configuration : (Category) SLAPD Configuration : (Answer) How do I change database type?
Changing the database type (technically, the backend) is not as trivial as simply changing "database foo" into "database bar" in slapd.conf(5).

Assuming we're discussing about database types that actually store data, e.g. from slapd-ldbm(5) to slapd-bdb(5), one needs to:

  • slapcat(8) the contents of the database
  • change the database type in slapd.conf(5) from the old to the new type
  • change any relevant database-specific directive in slapd.conf(5) as required; see slapd-<new>(5) for details
  • slapadd(8) the contents back into the new storage type

Be prepared to manually fix issues that may arise.

[Append to This Answer]
ando@sys-net.it
Previous: (Answer) What should the "threads" configuration parameter be set to?
Next: (Answer) New Item
This document is: http://www.openldap.org/faq/index.cgi?file=1314
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org