s4:partition LDB module - "partition_replicate" doesn't handle the search requests
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Sun, 6 Mar 2011 14:37:51 +0000 (15:37 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 10 Mar 2011 10:12:05 +0000 (11:12 +0100)
That is done by "partition_search".

source4/dsdb/samdb/ldb_modules/partition.c

index 286733119b89be53c0c6e8d043603569161c57b4..57b804321f47b2bafa6588437346bf578e9fdfb2 100644 (file)
@@ -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],