diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-07-03 16:00:48 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2014-07-15 12:46:16 +0200 |
commit | 498e7cc4c11494a6c1a8b2f979ca76ae56f0717e (patch) | |
tree | e1be6e00bf9873b26c2dfaa3e5ef555a0e0e6fb0 /source4/dsdb | |
parent | 38c5f5b49e1abcdf3e4d9ef2160de3f9069497f1 (diff) | |
download | samba-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/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/schema_load.c | 3 |
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; |