diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-08-15 20:40:57 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-08-15 20:40:57 +1000 |
commit | 16112762e70879b50f1dfc49452d6d278bd256cf (patch) | |
tree | 19e91c832a8069686a1c5ba92cc28d73cc3ba815 /source4/dsdb/schema/schema_convert.h | |
parent | e387677f515ee7f2c185069f8c52a3ec783041e2 (diff) | |
download | samba-16112762e70879b50f1dfc49452d6d278bd256cf.tar.gz samba-16112762e70879b50f1dfc49452d6d278bd256cf.tar.bz2 samba-16112762e70879b50f1dfc49452d6d278bd256cf.zip |
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
(This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
Diffstat (limited to 'source4/dsdb/schema/schema_convert.h')
-rw-r--r-- | source4/dsdb/schema/schema_convert.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_convert.h b/source4/dsdb/schema/schema_convert.h new file mode 100644 index 0000000000..de379343a6 --- /dev/null +++ b/source4/dsdb/schema/schema_convert.h @@ -0,0 +1,10 @@ +struct syntax_map { + const char *Standard_OID; + const char *AD_OID; + const char *equality; + const char *substring; + const char *comment; +}; + +const struct syntax_map *find_syntax_map_by_ad_oid(const char *ad_oid); +const struct syntax_map *find_syntax_map_by_standard_oid(const char *standard_oid); |