From 6cd01c9665de107e756dc1208727338d05bea98d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 28 Nov 2010 14:32:51 +1100 Subject: [PATCH] s4-dsdb: give full error message for operational failures --- source4/dsdb/samdb/ldb_modules/operational.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c index ebeec71cabe..d98131113d2 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; }