dbcheck: add support for restoring missing forward links
commit692e6b2897ff99ff7a2dea7f16ccb5a0b6869e2a
authorRalph Boehme <slow@samba.org>
Thu, 25 Jan 2018 13:48:55 +0000 (25 14:48 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 6 Feb 2018 11:07:08 +0000 (6 12:07 +0100)
tree6d491438528593cc9608a7bb7eca4ddb38825381
parentdad609d0d74d1fbdaa3eb6dd59b800f3b258e714
dbcheck: add support for restoring missing forward links

This recovers broken databases with duplicate and missing
forward links.

See commit a25c99c9f1fd1814c56c21848c748cd0e038eed7 for
the fix that prevents to problem from happening.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=13228

Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>

Signed-off-by: Ralph Boehme <slow@samba.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit 5bf823d68bd33ee3160175a18a3838eff4e3cbb2)
python/samba/dbchecker.py
selftest/knownfail.d/samba4.blackbox.dbcheck-links [deleted file]
source4/selftest/provisions/release-4-5-0-pre1/expected-dbcheck-link-output_duplicate_member.txt