You are viewing an Archived item in your Knowledge Base, it is not publicly accessible.

  • Contact Us
  • Home
  • Installation
  • Configuration

HDB to MDB Conversion

Learn how to convert HDB files to MDB format easily and efficiently with step-by-step instructions and helpful tips.

Written by Maryanne Normann

Updated at July 2nd, 2025

  • Quick Start
  • Installation
    Best Practices Configuration Troubleshooting Design Performance Platform
  • Maintenance
    Releases Upgrade
  • Reference
+ More

Table of Contents

Why Convert? How To Convert

Date: 17-11-2015

Why Convert?

Migrating from HDB (Berkeley DB) to MDB (Lightning Memory-Mapped Database) in OpenLDAP is recommended because MDB is the preferred and default backend for OpenLDAP, offering superior performance and is actively supported, unlike HDB which is deprecated. 

How To Convert

Conversion is made in the slapd.conf file. Edit /opt/symas/etc/openldap/slapd.conf and make the following changes:

1. Change references to hdb in the module load and database sections
2. Comment out (#) the following: 

  1. Cachesize 
  2. Idlcachesize 
  3. Checkpoint

3. Beneath the commented out Checkpoint entry add the following line: 

Maxsize 10485760

Equals 10 MB. Increase to 104857600 which equals 100 MB for larger databases.

4. Save the slapd.conf file 
5. Test the slapd.conf file

sudo slaptest -v -f /opt/symas/etc/openldap/slapd.conf 

6. Restart slapd

 systemctl slapd restart
Copyright © 2020-2024 Symas Corporation. All rights reserved.
migration database

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Configuring iptables (Opening LDAP Ports)
  • Logging Configuration for RHEL / Centos
  • Configure SSSD with LDAP on Ubuntu Client
  • Configure SSSD with LDAP on CentOS/RHEL6 Client
  • Symas Blog RSS Feed
  • Symas on Facebook
  • Symas on Twitter
  • Symas Blog
  • Symas on LinkedIn
  • Symas YouTube Channel

Copyright © 2023, Symas Corporation. All rights reserved. Privacy Statement (updated July 31, 2023)

Phone:

Main Office: +1.650.963.7601
Fax: +1.650.390.6284

Email:

Sales: sales@symas.com
Support: support@symas.com

Office Hours:

8:00 AM - 5:00 PM ET

Office Location:

Symas Corporation
PO Box 391
Grand Junction, CO 81507 USA

Expand