summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-06-28 21:28:46 +0300
committerAndrew Bartlett <abartlet@samba.org>2010-07-02 10:08:02 +1000
commit682f7a53383f1c72f53fc5238f4ca2db348f9df3 (patch)
treeda1382815545470081132521f11efcc59d54ae2c /source4/dsdb/samdb/ldb_modules
parentbf373d5c29737264724ae4f86e05a79d7b69b4ee (diff)
downloadsamba-682f7a53383f1c72f53fc5238f4ca2db348f9df3.tar.gz
samba-682f7a53383f1c72f53fc5238f4ca2db348f9df3.tar.bz2
samba-682f7a53383f1c72f53fc5238f4ca2db348f9df3.zip
s4-source4/dsdb/samdb/ldb_modules/subtree_delete.c: Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/subtree_delete.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/subtree_delete.c b/source4/dsdb/samdb/ldb_modules/subtree_delete.c
index a29de8e910..4782702ae5 100644
--- a/source4/dsdb/samdb/ldb_modules/subtree_delete.c
+++ b/source4/dsdb/samdb/ldb_modules/subtree_delete.c
@@ -52,7 +52,9 @@ static int subtree_delete(struct ldb_module *module, struct ldb_request *req)
/* see if we have any children */
ret = dsdb_module_search(module, req, &res, req->op.del.dn,
LDB_SCOPE_ONELEVEL, attrs,
- DSDB_SEARCH_SHOW_DELETED, "(objectClass=*)");
+ DSDB_FLAG_NEXT_MODULE |
+ DSDB_SEARCH_SHOW_DELETED,
+ "(objectClass=*)");
if (ret != LDB_SUCCESS) {
talloc_free(res);
return ret;