diff options
Diffstat (limited to 'source4/lib/ldb/modules/objectclass.c')
-rw-r--r-- | source4/lib/ldb/modules/objectclass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/lib/ldb/modules/objectclass.c b/source4/lib/ldb/modules/objectclass.c index 479d943a91..8b4ad598cc 100644 --- a/source4/lib/ldb/modules/objectclass.c +++ b/source4/lib/ldb/modules/objectclass.c @@ -115,7 +115,7 @@ static int objectclass_handle(struct ldb_module *module, struct ldb_request *req res = search_request->op.search.res; talloc_steal(mem_ctx, res); if (res->count != 1) { - ldb_set_errstring(module, + ldb_set_errstring(module->ldb, talloc_asprintf(mem_ctx, "objectClass_handle: " "search for %s found %d != 1 objects, for entry we just added/modified", ldb_dn_linearize(mem_ctx, msg->dn), |