diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-04-09 17:21:21 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-04-10 21:41:01 +1000 |
commit | 944dc2cb0ba13799a343f655a353013e4a9d8dd1 (patch) | |
tree | 56276d56be3130f172b83a3cbc09166a36cc6622 | |
parent | 78dd3778494600f8047ba2dd0ea8635eb84258f7 (diff) | |
download | samba-944dc2cb0ba13799a343f655a353013e4a9d8dd1.tar.gz samba-944dc2cb0ba13799a343f655a353013e4a9d8dd1.tar.bz2 samba-944dc2cb0ba13799a343f655a353013e4a9d8dd1.zip |
s4:dsdb Improve error message in extended_dn_in
This error occours when an extended DN cannot be resolved, so it's
most helpful to print the problematic extended DN.
Andrew Bartlett
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/extended_dn_in.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/extended_dn_in.c b/source4/dsdb/samdb/ldb_modules/extended_dn_in.c index 33931167c5..e040ee1b5e 100644 --- a/source4/dsdb/samdb/ldb_modules/extended_dn_in.c +++ b/source4/dsdb/samdb/ldb_modules/extended_dn_in.c @@ -156,7 +156,7 @@ static int extended_base_callback(struct ldb_request *req, struct ldb_reply *are if (!ac->basedn) { const char *str = talloc_asprintf(req, "Base-DN '%s' not found", - ldb_dn_get_linearized(ac->req->op.search.base)); + ldb_dn_get_extended_linearized(req, ac->req->op.search.base, 1)); ldb_set_errstring(ldb_module_get_ctx(ac->module), str); return ldb_module_done(ac->req, NULL, NULL, LDB_ERR_NO_SUCH_OBJECT); |