Bug 13015 - Re-index of ldb requring a re-key fails
Re-index of ldb requring a re-key fails
Status: RESOLVED FIXED
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.7.0rc5
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on: 13023
Blocks:
  Show dependency treegraph
 
Reported: 2017-09-06 02:57 UTC by Andrew Bartlett
Modified: 2017-09-15 23:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Bartlett 2017-09-06 02:57:43 UTC
Reindex of an ldb that requires a re-key fails because the new name for the entry can be seen again in the same tdb_traverse().

Instead, we must delete the index, move the keys then re-add the index.
Comment 1 Stefan Metzmacher 2017-09-15 23:39:09 UTC
Pushed to v4-7-test