partition_ctrl = ldb_reply_get_control(ares, DSDB_CONTROL_CURRENT_PARTITION_OID);
/* Remove the 'partition' control from what we pass up the chain */
- controls = controls_except_specified(ares->controls, ares, partition_ctrl);
+ controls = ldb_controls_except_specified(ares->controls, ares, partition_ctrl);
if (ares->error != LDB_SUCCESS) {
return ldb_module_done(ac->req, controls,
* eventually with the ares */
talloc_free(partition_ctrl);
return ldb_module_done(ac->req,
- controls_except_specified(controls, ares, partition_ctrl),
+ ldb_controls_except_specified(controls, ares, partition_ctrl),
ares->response, LDB_SUCCESS);
}
}
/* Returns a list of controls, except the one specified. Included
* controls become a child of returned list if they were children of
* controls_in */
-struct ldb_control **controls_except_specified(struct ldb_control **controls_in,
+struct ldb_control **ldb_controls_except_specified(struct ldb_control **controls_in,
TALLOC_CTX *mem_ctx,
struct ldb_control *exclude)
{
/* Returns a list of controls, except the one specified. Included
* controls become a child of returned list if they were children of
* controls_in */
-struct ldb_control **controls_except_specified(struct ldb_control **controls_in,
+struct ldb_control **ldb_controls_except_specified(struct ldb_control **controls_in,
TALLOC_CTX *mem_ctx,
struct ldb_control *exclude);
int ldb_check_critical_controls(struct ldb_control **controls);