[Pkg-samba-maint] libldb depends expression
Andrew Bartlett
abartlet at samba.org
Mon Apr 4 00:24:18 BST 2022
On Sat, 2022-04-02 at 08:27 +0200, Mathieu Parent wrote:
> > And to be fair, I don't even know what these modules are, and
> > how the said modules in dsdb-modules are related with the ones
> > in libldb2? Can libldb2 load modules from dsdb-modules? How
> > about the other way around? They're both in the same subdir.
>
>
> Andrew has all those answers, he is probably the top commiter of ldb
>
> and AD LDAP ;-).
So, the modules in dsdb-modules are essentially the core of the Samba
AD DC.
We thought we were building a thick layer of DCE/RPC, SMB, Kerberos etc
around a simple LDAP server, but what we ended up building was a thin
layer around a complex LDAP server, implemented in terms of a massive
module 'stack' that we call dsdb.
Samba's modules use private (ldb_private.h) the semi-private (the
ldb_module.h header) bits of LDB and depend very strictly on all the
various bugs we fix in there, hence all the strict version stuff.
I would just note that we should ensure that the ldb library is
published as a public library, otherwise it may have the wrong symbol
versions I think.
Andrew Bartlett
--
Andrew Bartlett (he/him) https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT https://catalyst.net.nz/services/samba
Samba Development and Support, Catalyst IT - Expert Open Source
Solutions
More information about the Pkg-samba-maint
mailing list