I am a bit confused about the bdb and hdb backends. My understanding is that the former is based on the Berkeley database, whereas the latter uses an Oracle version of Berkeley database. In my slapd.conf configuration file there is an entry that specifies that bdb, not hdb, is to be used. However, when launching slapd, it attempts to use hdb_db_open(). Why would that be the case?
--On Wednesday, June 20, 2018 4:11 PM +0000 JC lovecraftesque@yahoo.com wrote:
I am a bit confused about the bdb and hdb backends. My understanding is that the former is based on the Berkeley database, whereas the latter uses an Oracle version of Berkeley database.
back-bdb and back-hdb are both built on top of the Berkeley DB database engine. They are both deprecated and will be removed from a future release. The supported and recommended backend for use is back-mdb. Oracle changed the license for BerkeleyDB such that 6.0 and later versions are not compatible with the OpenLDAP software. As for the hdb_open() perhaps the backends were compiled statically rather than dynamically.
Warm regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org