summaryrefslogtreecommitdiffstats
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-06 15:37:51 +0100
committerMatthias Dieter Wallnöfer <mdw@samba.org>2011-03-10 11:12:05 +0100
commit4e6b8e0a181b2fa78fd72e7e2724ad5acd81672b (patch)
treee5f022c2b12047b1581fa2af219ad87aed151c84 /source4/dsdb
parent210cab9bf0a72b670d20ea16f1f483e41b5a503c (diff)
downloadsamba-4e6b8e0a181b2fa78fd72e7e2724ad5acd81672b.tar.gz
samba-4e6b8e0a181b2fa78fd72e7e2724ad5acd81672b.tar.xz
samba-4e6b8e0a181b2fa78fd72e7e2724ad5acd81672b.zip
s4:partition LDB module - "partition_replicate" doesn't handle the search requests
That is done by "partition_search".
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/partition.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c
index 286733119b8..57b804321f4 100644
--- a/source4/dsdb/samdb/ldb_modules/partition.c
+++ b/source4/dsdb/samdb/ldb_modules/partition.c
@@ -404,7 +404,7 @@ static int partition_replicate(struct ldb_module *module, struct ldb_request *re
return ldb_next_request(module, req);
}
- if (req->operation != LDB_SEARCH && ldb_dn_is_special(dn)) {
+ if (ldb_dn_is_special(dn)) {
/* Is this a special DN, we need to replicate to every backend? */
for (i=0; data->replicate && data->replicate[i]; i++) {
if (ldb_dn_compare(data->replicate[i],