return req->callback(req, ares);
}
-/* calls the request callback to send an referrals
+/* calls the request callback to send a referral
*
* params:
* req: the original request passed to your module
ldb_register_module() and ldb_register_backend() to register a
module or backend, but it may also be used to register command line
handling functions, ldif handlers or any other local
- modififications.
+ modifications.
The ldb_init_module() function does not get a ldb_context passed in,
as modules will be used for multiple ldb context handles. The call
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(ldb_kv->module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
/*
* We do not base 64 encode a DN in a key, it has already been
- * casefold and lineraized, that is good enough. That already
+ * casefolded and linearized, that is good enough. That already
* avoids embedded NUL etc.
*/
if (ldb_kv->cache->GUID_index_attribute != NULL) {
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(ldb_kv->module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(ldb_kv->module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(ldb_kv->module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
if (ldb_kv->pid != pid) {
ldb_asprintf_errstring(ldb_module_get_ctx(ldb_kv->module),
__location__
- ": Reusing ldb opend by pid %d in "
+ ": Reusing ldb opened by pid %d in "
"process %d\n",
ldb_kv->pid,
pid);
/*
* Open the database in read only and read write mode,
- * ensure it's opend in read only mode first
+ * ensure it's opened in read only mode first
*/
ro_ldb = ldb_init(test_ctx, test_ctx->ev);
ret = ldb_connect(ro_ldb, test_ctx->dbpath, LDB_FLG_RDONLY, NULL);