summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_init.c
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2009-07-03 15:24:40 +0300
committerAndrew Bartlett <abartlet@samba.org>2009-07-08 14:40:20 +1000
commit6b05a9079ce38eb590f4a94b427bc69123cd6a23 (patch)
tree9d02eff85227b970dba7563d106db7dd018c2dec /source4/dsdb/schema/schema_init.c
parentdad913118344922139401ee5afaec8f3e68e05dd (diff)
downloadsamba-6b05a9079ce38eb590f4a94b427bc69123cd6a23.tar.gz
samba-6b05a9079ce38eb590f4a94b427bc69123cd6a23.tar.bz2
samba-6b05a9079ce38eb590f4a94b427bc69123cd6a23.zip
Fix for schemaUpdateNow command
Diffstat (limited to 'source4/dsdb/schema/schema_init.c')
-rw-r--r--source4/dsdb/schema/schema_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c
index 1084679f8d..dfa745e305 100644
--- a/source4/dsdb/schema/schema_init.c
+++ b/source4/dsdb/schema/schema_init.c
@@ -576,7 +576,7 @@ WERROR dsdb_read_prefixes_from_ldb(TALLOC_CTX *mem_ctx, struct ldb_context *ldb,
(*prefixes)[i].id = blob->ctr.dsdb.mappings[i].id_prefix<<16;
oid = talloc_strdup(mem_ctx, blob->ctr.dsdb.mappings[i].oid.oid);
(*prefixes)[i].oid = talloc_asprintf_append(oid, ".");
- (*prefixes)[i].oid_len = strlen(blob->ctr.dsdb.mappings[i].oid.oid);
+ (*prefixes)[i].oid_len = strlen((*prefixes)[i].oid);
}
talloc_free(blob);