summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules/partition.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-09-12 15:24:57 +1000
committerAndrew Tridgell <tridge@samba.org>2009-09-12 15:24:57 +1000
commit766774feaea925dd2fdffbfdc55ced66962564b8 (patch)
tree62f754c18462e033cf9af1376242a28ca94c23fb /source4/dsdb/samdb/ldb_modules/partition.c
parent7bdae8bfba862a67720d53dcffbf77f6b93ceeb4 (diff)
parent5c0cf012a746228aa17524e5e153b833028f284b (diff)
downloadsamba-766774feaea925dd2fdffbfdc55ced66962564b8.tar.gz
samba-766774feaea925dd2fdffbfdc55ced66962564b8.tar.bz2
samba-766774feaea925dd2fdffbfdc55ced66962564b8.zip
Merge branch 'master' of /home/tridge/samba/git/combined
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules/partition.c')
-rw-r--r--source4/dsdb/samdb/ldb_modules/partition.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c
index dec905e000..d4a69952e8 100644
--- a/source4/dsdb/samdb/ldb_modules/partition.c
+++ b/source4/dsdb/samdb/ldb_modules/partition.c
@@ -763,6 +763,15 @@ static int partition_sequence_number(struct ldb_module *module, struct ldb_reque
struct ldb_seqnum_result *tseqr;
struct ldb_extended *ext;
struct ldb_result *res;
+ struct dsdb_partition *p;
+
+ p = find_partition(NULL, NULL, req);
+ if (p != NULL) {
+ /* the caller specified what partition they want the
+ * sequence number operation on - just pass it on
+ */
+ return ldb_next_request(p->module, req);
+ }
seq = talloc_get_type(req->op.extended.data, struct ldb_seqnum_request);