summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-12-05 00:35:19 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:48:14 +0100
commit6d2f6f1aae2fd20dec9ed37019de26c7b33b7d2c (patch)
tree17476220a6ce29258ffa4debbb26032eccb00092
parent57f20ccd242e45ff91850341594aa040d113c19e (diff)
downloadsamba-6d2f6f1aae2fd20dec9ed37019de26c7b33b7d2c.tar.gz
samba-6d2f6f1aae2fd20dec9ed37019de26c7b33b7d2c.tar.bz2
samba-6d2f6f1aae2fd20dec9ed37019de26c7b33b7d2c.zip
r26297: Correct error message. This function verifies attributes, not
objectclasses. Andrew Bartlett (This used to be commit 47422b5e59027461efd7bc45534f9da8e37e3f48)
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
index b996f05250..da5cae1c65 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass.c
@@ -349,7 +349,7 @@ static int fix_attributes(struct ldb_context *ldb, const struct dsdb_schema *sch
for (i=0; i < msg->num_elements; i++) {
const struct dsdb_attribute *attribute = dsdb_attribute_by_lDAPDisplayName(schema, msg->elements[i].name);
if (!attribute) {
- ldb_asprintf_errstring(ldb, "objectclass %s is not a valid objectClass in schema", msg->elements[i].name);
+ ldb_asprintf_errstring(ldb, "attribute %s is not a valid attribute in schema", msg->elements[i].name);
return LDB_ERR_UNDEFINED_ATTRIBUTE_TYPE;
}
msg->elements[i].name = attribute->lDAPDisplayName;