Symas OpenLDAP Knowledge Base

HDB to MDB Conversion

Conversion is made in the slapd.conf file (/opt/symas/etc/openldap/slapd.conf

  1. Change references to hdb in the module load and database sections
  2. Comment out (#) the following:
  1. Cachesize
  2. Idlcachesize
  3. Checkpoint
  1. Beneath the commented out Checkpoint entry add the following line:
  1. Maxsize 10485760
  2. Equals 10 MB. Increase to 104857600 which equals 100 MB for larger databases.
  3. (Equals 1 GB in bytes)
  1. Save the slapd.conf file
  2. Test the slapd.conf file sudo slaptest -v -f /opt/symas/etc/openldap/slapd.conf
  3. Restart slapd sudo /opt/symas/etc/solserver restart