Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 449776

Summary: net-nds/openldap - add support for slapd-mdb backend
Product: Gentoo Linux Reporter: Rambaldi <gentoo>
Component: [OLD] ServerAssignee: Gentoo LDAP project <ldap-bugs>
Status: RESOLVED FIXED    
Severity: enhancement CC: henson, jaak
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: openldap-2.4.35-r1.ebuild

Description Rambaldi 2013-01-02 14:37:23 UTC
The mdb backend was introduced in openldap 2.4.27. 
Please add a use flag to be able to use the mdb backend.

Reproducible: Always
Comment 1 Jaak Ristioja 2013-12-01 22:47:51 UTC
Created attachment 364404 [details]
openldap-2.4.35-r1.ebuild

openldap-2.4.35-r1.ebuild with an mdb use flag to pass --enable-mdb or --disable-mdb to ./configure.

However, please note the following from "man 5 slapd-mdb":

NOTES
       This is an early release; the database file format or other characteristics may change incompatibly in future releases.

Hence it might instead be a better idea to enable mdb only with USE="experimental" instead.
Comment 2 Paul B. Henson 2014-01-09 00:28:57 UTC
Hmm, it's enabled by default in the configure script, unless you explicitly disable it. So unless you want a flag to be able to *disable* it, what you've got should be working for you... I'm running openldap with the current ebuild using mdb.


Btw, upstream considers mdb stable enough for production use in current openldap versions.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2014-10-12 06:27:27 UTC
in 2.4.40