#include "librpc/gen_ndr/ndr_misc.h"
#include "dsdb/samdb/samdb.h"
#include "../libds/common/flags.h"
+#include "dsdb/samdb/ldb_modules/util.h"
struct it_context {
struct ldb_module *module;
ret = ldb_build_add_req(&down_req, ldb, req,
msg,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
if (ret != LDB_SUCCESS) {
return ret;
*/
#include "ldb_module.h"
+#include "dsdb/samdb/ldb_modules/util.h"
static int unlazy_op(struct ldb_module *module, struct ldb_request *req)
{
req->op.search.tree,
req->op.search.attrs,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
break;
case LDB_ADD:
ret = ldb_build_add_req(&new_req, ldb_module_get_ctx(module), req,
req->op.add.message,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
break;
case LDB_MODIFY:
ret = ldb_build_mod_req(&new_req, ldb_module_get_ctx(module), req,
req->op.mod.message,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
break;
case LDB_DELETE:
ret = ldb_build_del_req(&new_req, ldb_module_get_ctx(module), req,
req->op.del.dn,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
break;
case LDB_RENAME:
req->op.rename.olddn,
req->op.rename.newdn,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
break;
case LDB_EXTENDED:
req->op.extended.oid,
req->op.extended.data,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
break;
default:
#include "includes.h"
#include "ldb/include/ldb_module.h"
#include "dsdb/samdb/samdb.h"
-
+#include "dsdb/samdb/ldb_modules/util.h"
static int show_deleted_search(struct ldb_module *module, struct ldb_request *req)
{
new_tree,
req->op.search.attrs,
req->controls,
- req->context, req->callback,
+ req, dsdb_next_callback,
req);
if (ret != LDB_SUCCESS) {
return ret;