summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-07-03 16:00:48 +0200
committerKarolin Seeger <kseeger@samba.org>2014-07-15 12:46:16 +0200
commit498e7cc4c11494a6c1a8b2f979ca76ae56f0717e (patch)
treee1be6e00bf9873b26c2dfaa3e5ef555a0e0e6fb0 /source4
parent38c5f5b49e1abcdf3e4d9ef2160de3f9069497f1 (diff)
downloadsamba-498e7cc4c11494a6c1a8b2f979ca76ae56f0717e.tar.gz
s4:dsdb/schema_load: make error message more verbose
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 26fa0b97d0270456becb86d93723a3c8e5d58585)
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_load.c b/source4/dsdb/samdb/ldb_modules/schema_load.c
index f61add6d785..17c20338b81 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_load.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_load.c
@@ -213,7 +213,8 @@ static struct dsdb_schema *dsdb_schema_refresh(struct ldb_module *module, struct
schema->metadata_usn = schema_seq_num;
} else {
/* From an old provision it can happen that the tdb didn't exists yet */
- DEBUG(0, ("Error while searching for the schema usn in the metadata\n"));
+ DEBUG(0, ("Error while searching for the schema usn in the metadata ignoring: %d:%s:%s\n",
+ ret, ldb_strerror(ret), ldb_errstring(ldb)));
schema->metadata_usn = 0;
}
schema->last_refresh = ts;