* 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;
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)) {