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:
committed by
Gerald (Jerry) Carter
parent
2e85b1583b
commit
7f115579d2
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user