diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-07-03 16:00:48 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-07-09 08:42:07 +0200 |
commit | 26fa0b97d0270456becb86d93723a3c8e5d58585 (patch) | |
tree | d99869adc76f09b9152f50899eec496b7eadcff3 /source4/dsdb | |
parent | 55fbe364b93000c7766e95e16fa35cc6a80c697b (diff) | |
download | samba-26fa0b97d0270456becb86d93723a3c8e5d58585.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>
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 d8bc8c7cf0d..4538e89d59c 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; |