diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-07-02 14:49:40 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-07-02 14:55:38 +1000 |
commit | ae8515d31b55bbe47b45aa2892d5d98000f645c4 (patch) | |
tree | 9fafda7de4e27b0e090df3749c07f96b157ed959 /source4/dsdb/schema/schema.h | |
parent | 865ca9be64acc3bfd8bfaabb0621592234e07be7 (diff) | |
download | samba-ae8515d31b55bbe47b45aa2892d5d98000f645c4.tar.gz samba-ae8515d31b55bbe47b45aa2892d5d98000f645c4.tar.bz2 samba-ae8515d31b55bbe47b45aa2892d5d98000f645c4.zip |
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.
Diffstat (limited to 'source4/dsdb/schema/schema.h')
-rw-r--r-- | source4/dsdb/schema/schema.h | 9 |
1 files changed, 9 insertions, 0 deletions
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 { |