Bug 13849 - Failed LDB modify operations within a transaction can pollute index
Failed LDB modify operations within a transaction can pollute index
Status: RESOLVED FIXED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.10.0rc4
All All
: P5 normal
: ---
Assigned To: Gary Lockyer
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-03-20 22:50 UTC by Andrew Bartlett
Modified: 2019-06-26 09:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2019-03-20 22:50:12 UTC
Due to the update of the index records during a ldb_modify operation at the ldb_kv layer, it is possible to corrupt the index, if the caller does not dispose of the transaction after the failure.

Gary has a series of patches to address this.
Comment 1 Gary Lockyer 2019-06-23 21:23:01 UTC
Closing fixes landed in master for version 4.11.
Commits b6b5b5fe355fee2a4096e9214831cb88c7a2a4c6 to b6b5b5fe355fee2a4096e9214831cb88c7a2a4c6
Comment 2 Louis 2019-06-26 09:40:45 UTC
Does this also apply to 4.9 and 4.10 ?