summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-07-06 03:25:11 +0300
committerKamen Mazdrashki <kamenim@samba.org>2010-07-08 02:38:34 +0300
commitb18ab826043c16adf5aafdb89e4a57be90ff8acf (patch)
tree578682f8f74e1d3cadd4606b3b73ad4aff5e60f6 /source4/dsdb/samdb/ldb_modules
parent7694b1964f0e51c5f312ef16b9f4d07d0c273bb2 (diff)
downloadsamba-b18ab826043c16adf5aafdb89e4a57be90ff8acf.tar.gz
samba-b18ab826043c16adf5aafdb89e4a57be90ff8acf.tar.bz2
samba-b18ab826043c16adf5aafdb89e4a57be90ff8acf.zip
s4-source4/dsdb/samdb/ldb_modules/operational.c Use DSDB_FLAG_NEXT_MODULE flag
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index 03502d3de3..c1da400b8d 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -212,7 +212,9 @@ static int construct_parent_guid(struct ldb_module *module,
return LDB_SUCCESS;
}
- ret = dsdb_module_search_dn(module, msg, &res, parent_dn, attrs, DSDB_SEARCH_SHOW_DELETED);
+ ret = dsdb_module_search_dn(module, msg, &res, parent_dn, attrs,
+ DSDB_FLAG_NEXT_MODULE |
+ DSDB_SEARCH_SHOW_DELETED);
talloc_free(parent_dn);
/* if there is no parent for this object, then return */
@@ -323,7 +325,8 @@ static int construct_msds_isrodc_with_server_dn(struct ldb_module *module,
return ldb_operr(ldb_module_get_ctx(module));
}
- ret = dsdb_module_search_dn(module, msg, &res, server_dn, attr_obj_cat, 0);
+ ret = dsdb_module_search_dn(module, msg, &res, server_dn, attr_obj_cat,
+ DSDB_FLAG_NEXT_MODULE);
if (ret == LDB_ERR_NO_SUCH_OBJECT) {
DEBUG(4,(__location__ ": Can't get objectCategory for %s \n",
ldb_dn_get_linearized(server_dn)));
@@ -350,7 +353,8 @@ static int construct_msds_isrodc_with_computer_dn(struct ldb_module *module,
int ret;
struct ldb_dn *server_dn;
- ret = dsdb_module_search_dn(module, msg, &res, msg->dn, attr, 0);
+ ret = dsdb_module_search_dn(module, msg, &res, msg->dn, attr,
+ DSDB_FLAG_NEXT_MODULE);
if (ret == LDB_ERR_NO_SUCH_OBJECT) {
DEBUG(4,(__location__ ": Can't get serverReferenceBL for %s \n",
ldb_dn_get_linearized(msg->dn)));