summaryrefslogtreecommitdiff
path: root/source4/utils/schema_convert.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-07-02 21:30:08 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-07-02 21:30:08 +1000
commit7e851ada55bcdbd1ad19587e5dd6779c74c361e1 (patch)
treec06603ced759b72c7a7e8057470c86352d5e73fb /source4/utils/schema_convert.h
parentfe174cc1415d5c55e7d8d2bb861a66f2203e68fe (diff)
downloadsamba-7e851ada55bcdbd1ad19587e5dd6779c74c361e1.tar.gz
samba-7e851ada55bcdbd1ad19587e5dd6779c74c361e1.tar.bz2
samba-7e851ada55bcdbd1ad19587e5dd6779c74c361e1.zip
Move ad2oLschema and oLschema2ldif into Samba4, out of LDB
LDB does not know about nor process the AD schema, so it makes no sense to have this tool there. I've been changing it anyway, to use a common schema manipulation library, and will enhance these links in the future. Andrew Bartlett (This used to be commit c7704805b9a3541e4c8768278c8289b0aa6ed5e3)
Diffstat (limited to 'source4/utils/schema_convert.h')
-rw-r--r--source4/utils/schema_convert.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source4/utils/schema_convert.h b/source4/utils/schema_convert.h
new file mode 100644
index 0000000000..de379343a6
--- /dev/null
+++ b/source4/utils/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);