git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
57f20cc
)
r26297: Correct error message. This function verifies attributes, not
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 4 Dec 2007 23:35:19 +0000
(
00:35
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:48:14 +0000
(
05:48
+0100)
objectclasses.
Andrew Bartlett
(This used to be commit
47422b5e59027461efd7bc45534f9da8e37e3f48
)
source4/dsdb/samdb/ldb_modules/objectclass.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/objectclass.c
b/source4/dsdb/samdb/ldb_modules/objectclass.c
index b996f052501e86bb51f458d166faf5ff1ecb4edb..da5cae1c658461468395d7fc751a86e4b8e39f90 100644
(file)
--- 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;