From bb3bdb3a62b3b895b9e0c013483a6356ecd7a3aa Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 22 Sep 2009 14:26:59 -0700 Subject: s4-ldb: added a bunch more debug for DC join These additional debug messages were added to help us track down w2k8->s4 domain join --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4/dsdb/samdb/ldb_modules/repl_meta_data.c') diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index fa8bd64bf2..39102e5bbe 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -466,6 +466,7 @@ static int replmd_add(struct ldb_module *module, struct ldb_request *req) if (!schema) { ldb_debug_set(ldb, LDB_DEBUG_FATAL, "replmd_add: no dsdb_schema loaded"); + DEBUG(0,(__location__ ": %s\n", ldb_errstring(ldb))); return LDB_ERR_CONSTRAINT_VIOLATION; } @@ -866,6 +867,7 @@ static int replmd_modify(struct ldb_module *module, struct ldb_request *req) if (!schema) { ldb_debug_set(ldb, LDB_DEBUG_FATAL, "replmd_modify: no dsdb_schema loaded"); + DEBUG(0,(__location__ ": %s\n", ldb_errstring(ldb))); return LDB_ERR_CONSTRAINT_VIOLATION; } @@ -1940,6 +1942,7 @@ static int replmd_extended_replicated_objects(struct ldb_module *module, struct if (!ar->schema) { ldb_debug_set(ldb, LDB_DEBUG_FATAL, "replmd_ctx_init: no loaded schema found\n"); talloc_free(ar); + DEBUG(0,(__location__ ": %s\n", ldb_errstring(ldb))); return LDB_ERR_CONSTRAINT_VIOLATION; } -- cgit