summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-09-24 18:44:50 +0200
committerMatthias Dieter Wallnöfer <mdw@sn-devel-104.sn.samba.org>2010-10-03 15:23:18 +0000
commit2b4f6528999243476e8fe25461b54a52f4911683 (patch)
tree740e6eb9d0d32781210394230b28b7fb9dfb48fa /source4/dsdb/samdb/ldb_modules
parent4768280614b517049ab724026b6867fbee77c6e3 (diff)
downloadsamba-2b4f6528999243476e8fe25461b54a52f4911683.tar.gz
samba-2b4f6528999243476e8fe25461b54a52f4911683.tar.bz2
samba-2b4f6528999243476e8fe25461b54a52f4911683.zip
s4:subtree_delete LDB module - it is only responsible for non-deleted objects
The deleted objects (tombstones, recycled & deleted objects) are handled by "repl_meta_data". 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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/subtree_delete.c b/source4/dsdb/samdb/ldb_modules/subtree_delete.c
index 9177744fe9..34914d27b6 100644
--- a/source4/dsdb/samdb/ldb_modules/subtree_delete.c
+++ b/source4/dsdb/samdb/ldb_modules/subtree_delete.c
@@ -53,8 +53,7 @@ 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_FLAG_NEXT_MODULE |
- DSDB_SEARCH_SHOW_DELETED,
+ DSDB_FLAG_NEXT_MODULE,
"(objectClass=*)");
if (ret != LDB_SUCCESS) {
talloc_free(res);