dbcheck: add support for restoring missing forward links
commita3a17681831fdd7e666d92f95edaf3787a1fb405
authorRalph Boehme <slow@samba.org>
Thu, 25 Jan 2018 13:48:55 +0000 (25 14:48 +0100)
committerKarolin Seeger <kseeger@samba.org>
Fri, 9 Feb 2018 08:30:22 +0000 (9 09:30 +0100)
treeceed5cdfdd41fc9a393db93c2bdb89165477d1e6
parent367970e43e4c755f9122446b809cb7f0ec7b0541
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