Generate the subSchema in cn=Aggregate
authorAndrew Bartlett <abartlet@samba.org>
Fri, 15 Aug 2008 10:40:57 +0000 (20:40 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 15 Aug 2008 10:40:57 +0000 (20:40 +1000)
commitc7c32ec7b42bdf0f7b669644516438c71b364e60
treea11dff3a45429affa05fc9d52dd46b952431247d
parente3591a6a35ddb60398a03a4fa0545cc6158946ef
Generate the subSchema in cn=Aggregate

This reads the schema from the in-memory structure, when the magic
attributes are requested.  The code is a modified version of that used
in the ad2oLschema tool (now shared).

The schema_fsmo module handles the insertion of the generated result.

As such, this commit also removes these entries from the setup/schema.ldif

Metze's previous stub of this functionality is also removed.

Andrew Bartlett
13 files changed:
source/dsdb/config.mk
source/dsdb/samdb/ldb_modules/schema_fsmo.c
source/dsdb/schema/schema.h
source/dsdb/schema/schema_constructed.c [deleted file]
source/dsdb/schema/schema_convert.c [moved from source/utils/schema_convert.c with 75% similarity]
source/dsdb/schema/schema_convert.h [moved from source/utils/schema_convert.h with 100% similarity]
source/dsdb/schema/schema_description.c [new file with mode: 0644]
source/dsdb/schema/schema_init.c
source/lib/ldb/tests/python/ldap.py
source/setup/schema.ldif
source/utils/ad2oLschema.c
source/utils/config.mk
testprogs/ejs/minschema.js