Bug 13015 - Re-index of ldb requring a re-key fails
Summary: Re-index of ldb requring a re-key fails
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.7.0rc5
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
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