ldb 1.3.2 fails some tests

Andrew Bartlett abartlet at samba.org
Sun Mar 4 07:15:22 UTC 2018

On Sun, 2018-03-04 at 06:32 +0100, Timur I. Bakeyev wrote:
> So, array of attributes schemas gets two definitions for "cn" attribute with different handlers. I'm not sure, if this is a correct behavior at all,
> but current code allows such an addition through the ltdb_attributes_load()->ldb_schema_attribute_fill_with_syntax() sequence, while
> doing proper definition replacement in the ldb_schema_attribute_add_with_syntax().

The from-DB load tries to avoid the attribute load becoming O(n^2) by
not calling the 'check if it already exists' case, so that much is

How it gets declared twice is the next thing to work out.


Andrew Bartlett

Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba

More information about the samba-technical mailing list