summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 14:48:25 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-29 15:14:32 +0200
commit0e21b4ffa067237ed2c3037216c14a955f339e51 (patch)
treebd7b40100558f96f74d2318248684cb770fcccf7
parent2198831e6b7c112b8f7551fccb25305742636df2 (diff)
downloadsamba-0e21b4ffa067237ed2c3037216c14a955f339e51.tar.gz
samba-0e21b4ffa067237ed2c3037216c14a955f339e51.tar.bz2
samba-0e21b4ffa067237ed2c3037216c14a955f339e51.zip
Revert "s4/dsdb: Fixed partition_search() not to pass special DN's to LDAP backend."
This reverts commit ed4c107bc1eac8531fdd8d09f7698efcbc7ecb14. See post "Endi's Bug 7530 patches (LDAP backend)" on samba-technical.
-rw-r--r--source4/dsdb/samdb/ldb_modules/partition.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c
index d022d128e9..ba695d2221 100644
--- a/source4/dsdb/samdb/ldb_modules/partition.c
+++ b/source4/dsdb/samdb/ldb_modules/partition.c
@@ -470,14 +470,12 @@ static int partition_search(struct ldb_module *module, struct ldb_request *req)
return ret;
}
- if (!ldb_dn_is_special(req->op.search.base)) {
- p = find_partition(data, NULL, req);
- if (p != NULL) {
- /* the caller specified what partition they want the
- * search - just pass it on
- */
- return ldb_next_request(p->module, req);
- }
+ p = find_partition(data, NULL, req);
+ if (p != NULL) {
+ /* the caller specified what partition they want the
+ * search - just pass it on
+ */
+ return ldb_next_request(p->module, req);
}
/* Get back the search options from the search control, and mark it as