summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2009-10-29 16:24:00 +0200
committerStefan Metzmacher <metze@samba.org>2009-11-06 14:05:49 +0100
commitdb82023af24ef89afe1559422ac5899646afff32 (patch)
treed1a86ec15d144b3842d78bfec89be3f1e2de19c7 /source4/dsdb/samdb
parent2fa4c4dceec67a85c40f37c992f5a603aada47c0 (diff)
downloadsamba-db82023af24ef89afe1559422ac5899646afff32.tar.gz
samba-db82023af24ef89afe1559422ac5899646afff32.tar.bz2
samba-db82023af24ef89afe1559422ac5899646afff32.zip
s4/drs: remove unused num_prefixes and prefixes from dsdb_schema
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index 5af951aff5..661060d755 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -273,7 +273,7 @@ static int rootdse_add_dynamic(struct ldb_module *module, struct ldb_message *ms
if (schema && do_attribute_explicit(attrs, "dsSchemaPrefixCount")) {
if (ldb_msg_add_fmt(msg, "dsSchemaPrefixCount",
- "%u", schema->num_prefixes) != 0) {
+ "%u", schema->prefixmap->length) != 0) {
goto failed;
}
}