/* search */
static int partition_search(struct ldb_module *module, struct ldb_request *req)
{
- struct ldb_control **saved_controls;
/* Find backend */
struct partition_private_data *data = talloc_get_type(ldb_module_get_private(module),
struct partition_private_data);
}
- /* Remove the "domain_scope" control, so we don't confuse a backend
- * server */
- if (domain_scope_control && !ldb_save_controls(domain_scope_control, req, &saved_controls)) {
- return ldb_oom(ldb_module_get_ctx(module));
- }
-
/* if we aren't initialised yet go further */
if (!data || !data->partitions) {
return ldb_next_request(module, req);