On 2014-03-07, Friedrich Locke <[email protected]> wrote: > Hi folks! > > I would like to setup a OpenLDAP server using OpenBSD and the ports > collection. > I wonder if the current OpenLDAP in the ports is still broken ? > Do it supports mdb/hdb/bdb ? > > Thanks a lot. > > gustavo. > >
OpenLDAP 2.3 and 2.4 servers are in ports. 2.3 uses ldbm, 2.4 uses bdb. mdb is not enabled as the default settings for mdb require that the buffer cache and mmap are coherent which is not the case on OpenBSD. According to Howard Chu this requirement is relaxed if MDB_WRITEMAP is used so I am tempted to change the port to A) enable it and B) add a check to refuse use of mdb unless writemap is set.

