[PATCH(wip)] remove dependency loop pdb->pdb_ldapsam->smbldaphelper->pdb
Andreas Schneider
asn at samba.org
Mon Oct 28 04:07:52 MDT 2013
On Wednesday 23 October 2013 00:42:22 Michael Adam wrote:
> Hi,
>
> the attached (unfinished) patch removes a dependency loop
> pdb->pdb_ldapsam->smbldaphelper->pdb
> (the last step was implicit by "allow_undefined_symbols=True").
>
> It is achieved by moving some code and splitting out new subsystems
> PRIVILEGES (lib/privileges.c),
> ACCOUNT_POL (passdb/account_pol.c), and
> PDB_ALGORITHMIC_UTIL (passdb/pdb_algorithmic_util.c, containing
> algorithmic_rid_base())
>
> so that afterwards we have:
>
> pdb--+-->ACCOUNT_POL-->PRIVILEGES
>
> +-->PDB_ALGORITHMIC_UTIL
>
> +-->pdb_ldapsam-->smbldaphelper--+-->ACCOUNT_POL-->PRIVILEGES
>
> +-->PDB_ALGORITHMIC_UTIL
Shouldn't those be a subsystems be a library instead of linking them in?
-- andreas
--
Andreas Schneider GPG-ID: CC014E3D
Samba Team asn at samba.org
www.samba.org
More information about the samba-technical
mailing list