major upgrade to the ldb attribute handling
authorAndrew Tridgell <tridge@samba.org>
Thu, 2 Apr 2009 05:42:21 +0000 (16:42 +1100)
committerAndrew Tridgell <tridge@samba.org>
Thu, 2 Apr 2009 05:42:21 +0000 (16:42 +1100)
commit9539e2b508b3340b49575e5022c365ec382b2097
tree57f28e0743b527bcb28fad2a79863e47be9b1416
parent1bc9c3923574d548810733b512716d5758814328
major upgrade to the ldb attribute handling

This is all working towards supporting the full WSPP schema without a
major performance penalty.

We now use binary searches when looking up classes and attributes. We
also avoid the loop loading the attributes into ldb, by adding a hook
to override the ldb attribute search function in a module. The
attributes can thus be loaded once, and then saved as part of the
global schema.

Also added support for a few more key attribute syntaxes, as needed
for the full schema.
17 files changed:
source4/dsdb/schema/schema.h
source4/dsdb/schema/schema_init.c
source4/dsdb/schema/schema_query.c
source4/dsdb/schema/schema_set.c
source4/dsdb/schema/schema_syntax.c
source4/lib/ldb-samba/ldif_handlers.c
source4/lib/ldb/common/attrib_handlers.c
source4/lib/ldb/common/ldb_attributes.c
source4/lib/ldb/configure.ac
source4/lib/ldb/include/ldb.h
source4/lib/ldb/include/ldb_handlers.h
source4/lib/ldb/include/ldb_module.h
source4/lib/ldb/include/ldb_private.h
source4/libnet/libnet_vampire.c
source4/min_versions.m4
source4/torture/ldap/schema.c
source4/torture/libnet/libnet_BecomeDC.c