# $OpenLDAP$
-# Copyright 1999-2013 The OpenLDAP Foundation, All Rights Reserved.
+# Copyright 1999-2015 The OpenLDAP Foundation, All Rights Reserved.
# COPYING RESTRICTIONS APPLY, see COPYRIGHT.
H1: Building and Installing OpenLDAP Software
H3: Database Software
-OpenLDAP's {{slapd}}(8) {{TERM:BDB}} and {{TERM:HDB}} primary database backends
-require {{ORG[expand]Oracle}} {{PRD:Berkeley DB}}.
+OpenLDAP's {{slapd}}(8) {{TERM:MDB}} primary database backend uses the {{TERM:LMDB}}
+software included with the OpenLDAP source. There is no need to download any
+additional software to have {{MDB}} support.
+
+OpenLDAP's {{slapd}}(8) {{TERM:BDB}} and {{TERM:HDB}} deprecated database backends
+require {{ORG[expand]Oracle}}'s Berkeley DB.
If not available at configure time, you will not be able to build
-{{slapd}}(8) with these primary database backends.
+{{slapd}}(8) with these deprecated database backends.
Your operating system may provide a supported version of
-{{PRD:Berkeley DB}} in the base system or as an optional
+Berkeley DB in the base system or as an optional
software component. If not, you'll have to obtain and
-install it yourself.
-
-{{PRD:Berkeley DB}} is available from {{ORG[expand]Oracle}}'s Berkeley DB
-download page
-{{URL: http://www.oracle.com/technology/software/products/berkeley-db/index.html}}.
+install it yourself. Berkeley DB is available from
+{{ORG[expand]Oracle}}'s Berkeley DB download page if required.
-There are several versions available. Generally, the most recent
-release (with published patches) is recommended. This package is required
-if you wish to use the {{TERM:BDB}} or {{TERM:HDB}} database backends.
+There are several versions available from {{ORG[expand]Oracle}}.
+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 {{SECT:Recommended OpenLDAP Software Dependency Versions}} for
more information.
> ./configure [options] [variable=value ...]
As an example, let's assume that we want to install OpenLDAP with
-BDB backend and TCP Wrappers support. By default, BDB
+MDB backend and TCP Wrappers support. By default, MDB
is enabled and TCP Wrappers is not. So, we just need to specify
{{EX:--enable-wrappers}} to include TCP Wrappers support: