diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-12-23 10:39:26 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:42 -0500 |
commit | 3710a7ae991696dca71d0d8b173d9bd533f072cd (patch) | |
tree | 5b8acbdac76e88ae08450830d1922afddd2263a1 /source4/dsdb/schema/schema_init.c | |
parent | 37457a0f0796b4d945f2feb1297c684b99271594 (diff) | |
download | samba-3710a7ae991696dca71d0d8b173d9bd533f072cd.tar.gz samba-3710a7ae991696dca71d0d8b173d9bd533f072cd.tar.bz2 samba-3710a7ae991696dca71d0d8b173d9bd533f072cd.zip |
r20331: the last entry in the oid mapping array which starts with 0xFF
is the content of the schemaInfo attribute of the schema head object
metze
(This used to be commit bfb7756bb0f1bbd9a7a17c9689cf2ea351247116)
Diffstat (limited to 'source4/dsdb/schema/schema_init.c')
-rw-r--r-- | source4/dsdb/schema/schema_init.c | 6 |
1 files changed, 3 insertions, 3 deletions
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)) { |