summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-11-28 14:32:51 +1100
committerAndrew Tridgell <tridge@samba.org>2010-11-29 18:04:42 +1100
commit6cd01c9665de107e756dc1208727338d05bea98d (patch)
tree40948eb766ccbd2a8450a57b1e2d2a12007227d9 /source4/dsdb/samdb
parent74d373d0f7dfd8b3b7c8bbeb493de1e2bbc99ce4 (diff)
downloadsamba-6cd01c9665de107e756dc1208727338d05bea98d.tar.gz
samba-6cd01c9665de107e756dc1208727338d05bea98d.tar.bz2
samba-6cd01c9665de107e756dc1208727338d05bea98d.zip
s4-dsdb: give full error message for operational failures
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index ebeec71cab..d98131113d 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -672,8 +672,8 @@ static int operational_search_post_process(struct ldb_module *module,
failed:
ldb_debug_set(ldb, LDB_DEBUG_WARNING,
- "operational_search_post_process failed for attribute '%s'",
- attrs_from_user[a]);
+ "operational_search_post_process failed for attribute '%s' - %s",
+ attrs_from_user[a], ldb_errstring(ldb));
return -1;
}