The Samba-Bugzilla – Attachment 18456 Details for
Bug 15721
Cannot build libldb lmdb backend on a build without AD DC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.21
0001-ldb-Build-lmdb-backend-also-in-non-AD-case.patch (text/plain), 2.29 KB, created by
Andreas Schneider
on 2024-10-02 08:17:25 UTC
(
hide
)
Description:
patch for 4.21
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2024-10-02 08:17:25 UTC
Size:
2.29 KB
patch
obsolete
>From 854e3d6dcbd2064dfdd4b891f827fdfac13429e8 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Tue, 24 Sep 2024 15:48:23 +0200 >Subject: [PATCH] ldb: Build lmdb backend also in non-AD case > >We should build with lmdb support also if it is not in AD case. The lmdb >backend is also used e.g. by sssd. > >If you don't want to build it, you can always specify --without-ldb-lmdb > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=15721 > >Signed-off-by: Andreas Schneider <asn@samba.org> >Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> > >Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> >Autobuild-Date(master): Wed Sep 25 05:36:13 UTC 2024 on atb-devel-224 > >(cherry picked from commit fdef894d79793feafc286ff9e21cb01e4c777b26) >--- > lib/ldb/wscript | 22 +++++++++------------- > 1 file changed, 9 insertions(+), 13 deletions(-) > >diff --git a/lib/ldb/wscript b/lib/ldb/wscript >index 8ae95cbd6d6..ab33f7784a6 100644 >--- a/lib/ldb/wscript >+++ b/lib/ldb/wscript >@@ -33,21 +33,17 @@ def configure(conf): > conf.CONFIG_GET('ENABLE_SELFTEST'): > Logs.warn("NOTE: Some AD DC parts of selftest will fail") > >+ conf.env.REQUIRE_LMDB = False >+ elif Options.options.without_ldb_lmdb: >+ if not Options.options.without_ad_dc and \ >+ conf.CONFIG_GET('ENABLE_SELFTEST'): >+ raise Errors.WafError('--without-ldb-lmdb conflicts ' >+ 'with --enable-selftest while ' >+ 'building the AD DC') >+ > conf.env.REQUIRE_LMDB = False > else: >- if Options.options.without_ad_dc: >- conf.env.REQUIRE_LMDB = False >- else: >- if Options.options.without_ldb_lmdb: >- if not Options.options.without_ad_dc and \ >- conf.CONFIG_GET('ENABLE_SELFTEST'): >- raise Errors.WafError('--without-ldb-lmdb conflicts ' >- 'with --enable-selftest while ' >- 'building the AD DC') >- >- conf.env.REQUIRE_LMDB = False >- else: >- conf.env.REQUIRE_LMDB = True >+ conf.env.REQUIRE_LMDB = True > > # if lmdb support is enabled then we require lmdb > # is present, build the mdb back end and enable lmdb support in >-- >2.46.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ab
:
review+
Actions:
View
Attachments on
bug 15721
: 18456