Hello All,

We are using OpenLDAP 2.4.44 in our project, but facing a  dilemma over the Berkley DB version.
Which version we should use or it is not required at all now as we have LMDB.
Moreover Oracle has removed some links for downloading the older Berkley DB version.

OS : RHEL
cat /etc/redhat\-release
Red Hat Enterprise Linux Server release 6.5 (Santiago) 

I referred the Online guide, but was not able to conclude.

4.2.4. Database Software

OpenLDAP's slapd(8) MDB primary database backend uses the LMDB software included with the OpenLDAP source. There is no need to download any additional software to have MDB support.

OpenLDAP's slapd(8) BDB and HDB deprecated database backends require Oracle Corporation's Berkeley DB. If not available at configure time, you will not be able to build slapd(8) with these deprecated database backends.

Your operating system may provide a supported version of Berkeley DB in the base system or as an optional software component. If not, you'll have to obtain and install it yourself. Berkeley DB is available from Oracle Corporation's Berkeley DB download page if required.

There are several versions available from Oracle Corporation. Berkeley DB version 6.0.20 and later uses a software license that is incompatible with LDAP technology and should not be used with OpenLDAP.


Note: Please see Recommended OpenLDAP Software Dependency Versions for more information.