summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-12-06 00:17:43 +0200
committerKamen Mazdrashki <kamenim@samba.org>2010-12-06 00:05:59 +0100
commitaf5649d5f87e0c8b85eb950a253a4e65cca8ccd0 (patch)
tree68f2cbad1b1baaf471c6fc2dbfc4ceb5e285c57f /source4
parent05e77f52d701b5f8b87de7c89eda6f4076722e24 (diff)
downloadsamba-af5649d5f87e0c8b85eb950a253a4e65cca8ccd0.tar.gz
samba-af5649d5f87e0c8b85eb950a253a4e65cca8ccd0.tar.bz2
samba-af5649d5f87e0c8b85eb950a253a4e65cca8ccd0.zip
s4-repl_meta_data: Print function name when we can't find attribute in Schema cache
Same error message is printed by linked_attributes.c module and it was really hard to tell where the error occurred Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Mon Dec 6 00:05:59 CET 2010 on sn-devel-104
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/repl_meta_data.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
index 9662b21318..2bdb7af23f 100644
--- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
+++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c
@@ -2081,7 +2081,8 @@ static int replmd_modify_handle_linked_attribs(struct ldb_module *module,
= dsdb_attribute_by_lDAPDisplayName(schema, el->name);
if (!schema_attr) {
ldb_asprintf_errstring(ldb,
- "attribute %s is not a valid attribute in schema", el->name);
+ "%s: attribute %s is not a valid attribute in schema",
+ __FUNCTION__, el->name);
return LDB_ERR_OBJECT_CLASS_VIOLATION;
}
if (schema_attr->linkID == 0) {