From ae8515d31b55bbe47b45aa2892d5d98000f645c4 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 2 Jul 2009 14:49:40 +1000 Subject: fixed the pull of drs schema elements The previous code incorrectly assumed that attributes such as subClassOf come over the wire as strings. In fact they come over as 32 bit integers which refer to goversIDs. We have to post-process these as it sometimes happens that a governsID comes over the wire before the record that defines what it means. --- source4/dsdb/schema/schema.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source4/dsdb/schema/schema.h') diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index e15f65a0a1..a605e2f707 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -137,6 +137,15 @@ struct dsdb_class { char **subclasses; char **subclasses_direct; char **posssuperiors; + uint32_t subClassOf_id; + uint32_t *systemAuxiliaryClass_ids; + uint32_t *auxiliaryClass_ids; + uint32_t *systemMayContain_ids; + uint32_t *systemMustContain_ids; + uint32_t *possSuperiors_ids; + uint32_t *mustContain_ids; + uint32_t *mayContain_ids; + uint32_t *systemPossSuperiors_ids; }; struct dsdb_schema_oid_prefix { -- cgit