summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-06-09 20:52:02 +1000
committerAndrew Bartlett <abartlet@samba.org>2010-06-15 10:51:34 +1000
commit5323485eb3d5aeb844535c5b08fbdd3e7f8c9429 (patch)
tree91b9e2bd321fb7ea83edb3924c8ff51a4096cbf9 /source4/dsdb/schema/schema.h
parent6a2f7fe04c2c658e59fba01f7346303676b121b3 (diff)
downloadsamba-5323485eb3d5aeb844535c5b08fbdd3e7f8c9429.tar.gz
samba-5323485eb3d5aeb844535c5b08fbdd3e7f8c9429.tar.bz2
samba-5323485eb3d5aeb844535c5b08fbdd3e7f8c9429.zip
s4:dsdb Allow the setting an override on the schema
The change here is to try and convert a per the previous rules, but if we don't know a particular OID as a attributeID, then store it as an OID (for example). This allows known values to be converted as before, but still copes with unknown values. Andrew Bartlett Signed-off-by: Kamen Mazdrashki <kamenim@samba.org>
Diffstat (limited to 'source4/dsdb/schema/schema.h')
-rw-r--r--source4/dsdb/schema/schema.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h
index 9762a2ba98..0cbc21868f 100644
--- a/source4/dsdb/schema/schema.h
+++ b/source4/dsdb/schema/schema.h
@@ -221,6 +221,9 @@ struct dsdb_schema {
bool refresh_in_progress;
/* an 'opaque' sequence number that the reload function may also wish to use */
uint64_t reload_seq_number;
+
+ /* Should the syntax handlers in this case handle all incoming OIDs automatically, assigning them as an OID if no text name is known? */
+ bool relax_OID_conversions;
};
enum dsdb_attr_list_query {