building openldap form ports

Matthew Seaman m.seaman at
Wed Jun 14 12:19:37 UTC 2017

On 2017/06/14 12:36, Friedrich Locke wrote:
> i am learning a lot with this mailing lists, thank you for your replies.
> I would like to build and install openldap server from the ports
> collection. In the configuratin process i was told that bdb is
> deprecated, then which backend should i build support for ?
> In my slapd.conf which backend should i specify ?
> Thanks a lot for your time and patience.

I like lmdb for the backend (confusingly, that's the MDB option when
configuring the port0 -- this has been developed by the OpenLDAP folk
specifically as a replacement for BerkeleyDB, since Oracle is taking BDB
in directions that are not useful for the purposes of LDAP.

Be sure and turn off all of the backends you aren't using in the config
step.  Compiling in some of those will have a deleterious effect on
performance even if you aren't actually using them.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 972 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the freebsd-questions mailing list