summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2009-11-12 15:35:54 +1100
committerAndrew Bartlett <abartlet@samba.org>2009-11-12 16:34:18 +1100
commit693ddf5ba0d5e7a9fcc0f9727ff7f78b83d18343 (patch)
tree0badb028c8d711386ae009357b050ca6dfdb8f2a /source4
parent06b234e8118166ded401284eaf3a2227ec56eae7 (diff)
downloadsamba-693ddf5ba0d5e7a9fcc0f9727ff7f78b83d18343.tar.gz
samba-693ddf5ba0d5e7a9fcc0f9727ff7f78b83d18343.tar.bz2
samba-693ddf5ba0d5e7a9fcc0f9727ff7f78b83d18343.zip
s4:dsdb Improve debug message in extended_dn_out
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/extended_dn_out.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
index 0f8c1ab1f1..f946cb1e43 100644
--- a/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
+++ b/source4/dsdb/samdb/ldb_modules/extended_dn_out.c
@@ -433,7 +433,9 @@ static int extended_callback(struct ldb_request *req, struct ldb_reply *ares,
if (!dsdb_dn || !ldb_dn_validate(dsdb_dn->dn)) {
ldb_asprintf_errstring(ldb,
- "could not parse %.*s as a %s DN", (int)plain_dn->length, plain_dn->data,
+ "could not parse %.*s in %s on %s as a %s DN",
+ (int)plain_dn->length, plain_dn->data,
+ msg->elements[i].name, ldb_dn_get_linearized(msg->dn),
attribute->syntax->ldap_oid);
talloc_free(dsdb_dn);
return ldb_module_done(ac->req, NULL, NULL, LDB_ERR_INVALID_DN_SYNTAX);