Author: abartlet Date: 2007-12-05 00:35:19 +0000 (Wed, 05 Dec 2007) New Revision: 26297
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=26297 Log: Correct error message. This function verifies attributes, not objectclasses. Andrew Bartlett Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c Changeset: Modified: branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c =================================================================== --- branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c 2007-12-04 20:05:00 UTC (rev 26296) +++ branches/SAMBA_4_0/source/dsdb/samdb/ldb_modules/objectclass.c 2007-12-05 00:35:19 UTC (rev 26297) @@ -349,7 +349,7 @@ 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;
