r23560: - Activate metze's schema modules (from metze's schema-loading-13 patch).
authorAndrew Bartlett <abartlet@samba.org>
Thu, 21 Jun 2007 10:18:20 +0000 (10:18 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:53:27 +0000 (14:53 -0500)
commitdcff83ebe463bc7391841f55856d7915c204d000
tree9487cdf7c8403a97cd68ebc577b4f1278dae63d5
parent5410b23ea6649f49e8f24a57854f5e72f114aaef
r23560: - Activate metze's schema modules (from metze's schema-loading-13 patch).
- samba3sam.js: rework the samba3sam test to not use objectCategory,
  as it's has special rules (dnsName a simple match)
- ldap.js: Test the ordering of the objectClass attributes for the baseDN
- schema_init.c: Load the mayContain and mustContain (and system...) attributes when
  reading the schema from ldb
- To make the schema load not suck in terms of performance, write the
  schema into a static global variable
- ldif_handlers.c: Match objectCategory for equality and canonicolisation
  based on the loaded schema, not simple tring manipuation
- ldb_msg.c: don't duplicate attributes when adding attributes to a list
- kludge_acl.c: return allowedAttributesEffective based on schema results
  and privilages

Andrew Bartlett
13 files changed:
source/dsdb/samdb/ldb_modules/kludge_acl.c
source/dsdb/samdb/ldb_modules/schema_fsmo.c
source/dsdb/samdb/samdb.c
source/dsdb/schema/schema_init.c
source/lib/db_wrap.c
source/lib/ldb/common/ldb_msg.c
source/lib/ldb/samba/ldif_handlers.c
source/scripting/libjs/provision.js
source/setup/provision
source/setup/provision_partitions.ldif
source/setup/provision_schema_basedn_modify.ldif
testprogs/ejs/ldap.js
testprogs/ejs/samba3sam.js