summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-15 20:40:57 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-15 20:40:57 +1000
commit16112762e70879b50f1dfc49452d6d278bd256cf (patch)
tree19e91c832a8069686a1c5ba92cc28d73cc3ba815 /source4/dsdb/schema/schema.h
parente387677f515ee7f2c185069f8c52a3ec783041e2 (diff)
downloadsamba-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.h')
-rw-r--r--source4/dsdb/schema/schema.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h
index a4e455ae33..cd714e9c61 100644
--- a/source4/dsdb/schema/schema.h
+++ b/source4/dsdb/schema/schema.h
@@ -168,6 +168,20 @@ enum dsdb_attr_list_query {
DSDB_SCHEMA_ALL
};
+enum dsdb_schema_convert_target {
+ TARGET_OPENLDAP,
+ TARGET_FEDORA_DS,
+ TARGET_AD_SCHEMA_SUBENTRY
+};
+
+struct dsdb_syntax_map {
+ const char *Standard_OID;
+ const char *AD_OID;
+ const char *equality;
+ const char *substring;
+ const char *comment;
+};
+
#include "dsdb/schema/proto.h"
#endif /* _DSDB_SCHEMA_H */