Hi, As Mark said, to be able to use the new experimental lmdb feature, you need to install version 2.1 or greater. After that, there is several way to enable mdb backend:
1. create directly the instance with mdb: export NSSLAPD_DB_LIB=mdb dscreate ... 2. create directly the instance with mdb by using dscreate template: create a dscreate template file containing db_lib=mdb in [slapd] section: Here is an example: cat /tmp/dscreate.inf [general] [slapd] instance_name = foo db_lib=mdb port = 7389 root_password = password secure_port = 7636 [backend-userroot] create_suffix_entry = True sample_entries = yes suffix = dc=example,dc=com dscreate from-file /tmp/dscreate.inf 3. create instance with bdb then migrate: dsctl *instanceName* dblib bdb2mdb 4. Do the migration by switching the database type then restart and reimport (that is the solution described by Mark) Regards, Pierre On Thu, Mar 31, 2022 at 2:25 PM iyagomailru Alexander Yakovlev < iyagomai...@gmail.com> wrote: > Mark, Thierry, thank You. > I would really want to execute this command, but the 'config' option is > missing in my version 389-ds, so I was asking for advice on how to > configure it in another way. > > Here is the result of the command executing: > root@389ldap-test:~# dsconf slapd-instance backend config set --db_lib mdb > usage: dsconf instance backend [-h] {list,get,get_dn,create,delete} ... > dsconf instance backend: error: invalid choice: 'config' (choose from > 'list', 'get', 'get_dn', 'create', 'delete') > > > Version of 389-ds: > root@389ldap-test:~# apt show 389-ds > Package: 389-ds > Version: 1.3.7.10-1ubuntu1 > Priority: optional > Section: universe/net > Source: 389-ds-base > Origin: Ubuntu > _______________________________________________ > 389-users mailing list -- 389-users@lists.fedoraproject.org > To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org > Fedora Code of Conduct: > https://docs.fedoraproject.org/en-US/project/code-of-conduct/ > List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines > List Archives: > https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org > Do not reply to spam on the list, report it: > https://pagure.io/fedora-infrastructure > -- -- 389 Directory Server Development Team
_______________________________________________ 389-users mailing list -- 389-users@lists.fedoraproject.org To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/389-users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure