git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
55fbe36
)
s4:dsdb/schema_load: make error message more verbose
author
Stefan Metzmacher
<metze@samba.org>
Thu, 3 Jul 2014 14:00:48 +0000
(16:00 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Wed, 9 Jul 2014 06:42:07 +0000
(08:42 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/dsdb/samdb/ldb_modules/schema_load.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/schema_load.c
b/source4/dsdb/samdb/ldb_modules/schema_load.c
index d8bc8c7cf0d0cc94e535ac27b1e2fd98f9f3d77f..4538e89d59c604136f064cf8692e8cb85a8bc242 100644
(file)
--- 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;