summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2010-03-16 14:56:32 +1100
committerAndrew Bartlett <abartlet@samba.org>2010-03-16 19:26:09 +1100
commite3cb626c61515a9c372352843fafc368ffc6e871 (patch)
treeb58bf71702a3db4fb2099588214437ad94022d6b
parent2de07761e071ccf09c0ea9e0fdc6a61303356549 (diff)
downloadsamba-e3cb626c61515a9c372352843fafc368ffc6e871.tar.gz
samba-e3cb626c61515a9c372352843fafc368ffc6e871.tar.bz2
samba-e3cb626c61515a9c372352843fafc368ffc6e871.zip
s4:dsdb Show more detail in failure to compute the aggregate DN.
Andrew Bartlett
-rw-r--r--source4/dsdb/samdb/ldb_modules/schema_data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/schema_data.c b/source4/dsdb/samdb/ldb_modules/schema_data.c
index c71a01d630..25f2dcec8b 100644
--- a/source4/dsdb/samdb/ldb_modules/schema_data.c
+++ b/source4/dsdb/samdb/ldb_modules/schema_data.c
@@ -124,7 +124,7 @@ static int schema_data_init(struct ldb_module *module)
/* Used to check to see if this is a result on the CN=Aggregate schema */
data->aggregate_dn = samdb_aggregate_schema_dn(ldb, data);
if (!data->aggregate_dn) {
- ldb_set_errstring(ldb, "Could not build aggregate schema DN");
+ ldb_asprintf_errstring(ldb, "schema_data_init: Could not build aggregate schema DN for schema in %s", ldb_dn_get_linearized(schema_dn));
return LDB_ERR_OPERATIONS_ERROR;
}