Re: 389DS + Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
  3. [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
  4. create instance with bdb then migrate:
    dsctl instanceName dblib bdb2mdb
  5. 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 <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-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

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux