Hi,
As Mark said, to be able to use the new experimental lmdb feature, you need to install
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:
- create directly the instance with mdb:
export NSSLAPD_DB_LIB=mdb
dscreate ... - 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 - create instance with bdb then migrate:
dsctl instanceName dblib bdb2mdb - Do the migration by switching the database type then restart and reimport
(that is the solution described by Mark)
[general][slapd]instance_name = foodb_lib=mdbport = 7389root_password = passwordsecure_port = 7636
[backend-userroot]create_suffix_entry = Truesample_entries = yessuffix = dc=example,dc=com
dscreate from-file /tmp/dscreate.inf
Regards,
Pierre
Pierre
On Thu, Mar 31, 2022 at 2:25 PM iyagomailru Alexander Yakovlev <iyagomailru@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
--
389 Directory Server Development Team
389 Directory Server Development Team
_______________________________________________ 389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx 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@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure