1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-22 16:23:49 +03:00

r21761: - Give more detail on LDAP client library failures (make it clear

where the error is from)

- Make default error string more consistant

Andrew Bartlett
This commit is contained in:
Andrew Bartlett
2007-03-08 06:23:39 +00:00
committed by Gerald (Jerry) Carter
parent 2e85b1583b
commit 7f115579d2
4 changed files with 18 additions and 9 deletions

View File

@@ -432,7 +432,7 @@ int ldb_next_request(struct ldb_module *module, struct ldb_request *request)
}
if (!ldb_errstring(module->ldb)) {
/* Set a default error string, to place the blame somewhere */
ldb_asprintf_errstring(module->ldb, "error in module %s: %s", module->ops->name, ldb_strerror(ret));
ldb_asprintf_errstring(module->ldb, "error in module %s: %s (%d)", module->ops->name, ldb_strerror(ret), ret);
}
return ret;
}