diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-12-10 17:23:44 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-12-17 12:29:23 +1100 |
commit | d2ec925c63fdcfd102f7adcc345ce9f1fe886fd3 (patch) | |
tree | 2e8fa6557c21ba61b755730dc4f9e35b8531a599 /source4/dsdb | |
parent | 99f7f737356a83348aeda1723d7e1b846a4693c1 (diff) | |
download | samba-d2ec925c63fdcfd102f7adcc345ce9f1fe886fd3.tar.gz samba-d2ec925c63fdcfd102f7adcc345ce9f1fe886fd3.tar.bz2 samba-d2ec925c63fdcfd102f7adcc345ce9f1fe886fd3.zip |
Fix sequence number generation against OpenLDAP
It seems that in 2deeb99fff1a90c79ba1927e1a069362e250a63c adding the
partition control to this request was missed out.
Andrew Bartlett
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4/dsdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/partition.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/partition.c b/source4/dsdb/samdb/ldb_modules/partition.c index 2a321e29c5..5500c75a92 100644 --- a/source4/dsdb/samdb/ldb_modules/partition.c +++ b/source4/dsdb/samdb/ldb_modules/partition.c @@ -895,6 +895,14 @@ static int partition_sequence_number(struct ldb_module *module, struct ldb_reque return ret; } + ret = ldb_request_add_control(treq, + DSDB_CONTROL_CURRENT_PARTITION_OID, + false, data->partitions[i]); + if (ret != LDB_SUCCESS) { + talloc_free(res); + return ret; + } + ret = partition_request(data->partitions[i]->module, treq); if (ret != LDB_SUCCESS) { talloc_free(res); |