diff options
author | Andrew Bartlett <abartlet@samba.org> | 2007-12-05 00:35:19 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2007-12-21 05:48:14 +0100 |
commit | 6d2f6f1aae2fd20dec9ed37019de26c7b33b7d2c (patch) | |
tree | 17476220a6ce29258ffa4debbb26032eccb00092 /source4 | |
parent | 57f20ccd242e45ff91850341594aa040d113c19e (diff) | |
download | samba-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)
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass.c | 2 |
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; |