lmdb dn2id code (was: Re: [ROADMAP] Catalyst's focus on Samba)
abartlet at samba.org
Fri Apr 7 02:54:08 UTC 2017
On Tue, 2017-03-21 at 12:44 +0100, Arvid Requate via samba-technical
> Hi Andrew & Metze,
> Am Dienstag, 21. März 2017, 11:49:21 schrieb Stefan Metzmacher via
> Please also note that increasing the number of named databases in
> LMDB comes
> at a price for startup, see mdb_env_set_maxdbs in the API:
> OpenLDAP back-mdb currently limits this to 128 at compile time. You
> probably change that limit at runtime too though, when opening the
> The other limit too look out for are the 511 byte default key size
> limit. See
> dn2id of back-mdb for a way around that.
Thanks for the heads-up on that.
> I've isolated and re-implemented that
> algorithm here: https://github.com/reqa/ldap-lmdb-dntree
I don't know if that is any use, but AGPLv3 is really awkward for a
licence on that code. I'm curious why did you re-licence it away from
the OpenLDAP licence for a toy demo?
I any case, LDB needs to be LGPLv3 or later. I don't expect we will
want to re-use that code, but you never know and I wanted to give you a
heads-up about the conflict.
Authentication Developer, Samba Team https://samba.org
Samba Development and Support, Catalyst IT
More information about the samba-technical