Bug 13614 - On a DC, configure asks for lmdb even though option "--enable-selftest" is not selected
Summary: On a DC, configure asks for lmdb even though option "--enable-selftest" is no...
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Build (show other bugs)
Version: 4.9.0
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Jo Sutton
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-13 15:33 UTC by Miguel Medalha
Modified: 2021-03-22 02:54 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miguel Medalha 2018-09-13 15:33:11 UTC
In a AD DC, I ran "configure" with the following line:

./configure --with-systemd --with-statedir=/usr/local/samba/var --with-privatedir=/usr/local/samba/var/private --with-logfilebase=/usr/local/samba/var/log --with-privileged-socket-dir=/usr/local/samba/var/lib

It fails with the following message:


Checking for lmdb >= 0.9.16 via header check		: not found
Samba AD DC and --enable-selftest requires lmdb 0.9.16 or later


My configure command line does not contain the option "–enable-selftest". "../configure –help" gives the following output:

--enable-selftest
            enable options necessary for selftest (default=no)

If the default is "no" why is it behaving as if the option is enabled?
Comment 1 Andrew Bartlett 2021-03-22 02:54:31 UTC
I think the log message needs to indicate that --without-ldb-lmdb is a way out, but you can't run selftest if you do that.

It looks like the wording wasn't updated when the code requirements were.