diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/schema/schema.h | 5 | ||||
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/source4/dsdb/schema/schema.h b/source4/dsdb/schema/schema.h index c1f9081b2d..34cfcdb401 100644 --- a/source4/dsdb/schema/schema.h +++ b/source4/dsdb/schema/schema.h @@ -115,8 +115,11 @@ struct dsdb_schema { * the last element of the prefix mapping table isn't a oid, * it starts with 0xFF and has 21 bytes and is maybe a schema * version number + * + * this is the content of the schemaInfo attribute of the + * Schema-Partition head object. */ - const char *unknown_magic; + const char *schema_info; struct dsdb_attribute *attributes; struct dsdb_class *classes; diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c index a721718a06..59ab62eb92 100644 --- a/source4/dsdb/schema/schema_init.c +++ b/source4/dsdb/schema/schema_init.c @@ -46,9 +46,9 @@ WERROR dsdb_load_oid_mappings(struct dsdb_schema *schema, const struct drsuapi_D if (i != (ctr->num_mappings - 1)) { return WERR_INVALID_PARAM; } - - schema->unknown_magic = talloc_strdup(schema, ctr->mappings[i].oid.oid); - W_ERROR_HAVE_NO_MEMORY(schema->unknown_magic); + + schema->schema_info = talloc_strdup(schema, ctr->mappings[i].oid.oid); + W_ERROR_HAVE_NO_MEMORY(schema->schema_info); } else { /* the last array member should contain the magic value not a oid */ if (i == (ctr->num_mappings - 1)) { |