summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2010-01-07 10:09:09 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-08 13:03:03 +1100
commitc4fa4d116264f661d9eaddc6c4e430de476cff83 (patch)
treebb1fdfcf9b1701c46996d0491ea38c70379b34e5 /source4/dsdb/samdb/ldb_modules/pdc_fsmo.c
parentac5d42606270423b409e2cac32550bb6e48b27de (diff)
downloadsamba-c4fa4d116264f661d9eaddc6c4e430de476cff83.tar.gz
samba-c4fa4d116264f661d9eaddc6c4e430de476cff83.tar.bz2
samba-c4fa4d116264f661d9eaddc6c4e430de476cff83.zip
s4-dsdb: improve error messages in schema and pdc_fsmo modules
We want to incorporate the error messages from the modules further down the stack.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/pdc_fsmo.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/pdc_fsmo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c b/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c
index 796ecaf7bc..00d9a30fd3 100644
--- a/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c
+++ b/source4/dsdb/samdb/ldb_modules/pdc_fsmo.c
@@ -75,8 +75,8 @@ static int pdc_fsmo_init(struct ldb_module *module)
return ldb_next_init(module);
} else if (ret != LDB_SUCCESS) {
ldb_debug_set(ldb, LDB_DEBUG_FATAL,
- "pdc_fsmo_init: failed to search the domain object: %d:%s",
- ret, ldb_strerror(ret));
+ "pdc_fsmo_init: failed to search the domain object: %d:%s: %s",
+ ret, ldb_strerror(ret), ldb_errstring(ldb));
talloc_free(mem_ctx);
return ret;
}