git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b498871
)
Fix sequence number generation against OpenLDAP
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 10 Dec 2008 06:23:44 +0000
(17:23 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Wed, 10 Dec 2008 06:23:44 +0000
(17:23 +1100)
It seems that in
2deeb99fff1a90c79ba1927e1a069362e250a63c
adding the
partition control to this request was missed out.
Andrew Bartlett
source4/dsdb/samdb/ldb_modules/partition.c
patch
|
blob
|
history
diff --git
a/source4/dsdb/samdb/ldb_modules/partition.c
b/source4/dsdb/samdb/ldb_modules/partition.c
index 2a321e29c50d0c713117cc6aab8e5554b839c6da..5500c75a928e5fb7179be747f131f4d06d4944ed 100644
(file)
--- 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);