blackbox/dbcheck.sh: fix dbcheck_fix_one_way_links cleanup
authorStefan Metzmacher <metze@samba.org>
Thu, 7 Feb 2019 23:19:56 +0000 (00:19 +0100)
committerRalph Boehme <slow@samba.org>
Mon, 11 Feb 2019 10:41:21 +0000 (11:41 +0100)
Commit 35bfc62a31c9ad73449594ddd48f76f50e0abade changed
dbcheck to not regard old one-way-links as errors.

At that time the relavant trigger changed from
fix_all_string_dn_component_mismatch to
fix_all_old_dn_string_component_mismatch.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
testprogs/blackbox/dbcheck.sh

index 5691426d01b4bef5ca94d52b0a4ef918931862dc..caf89ca402b75594db1eac2676d06769c0fe3518 100755 (executable)
@@ -19,7 +19,7 @@ dbcheck() {
 
 # This list of attributes can be freely extended
 dbcheck_fix_one_way_links() {
-       $PYTHON $BINDIR/samba-tool dbcheck --quiet --fix --yes fix_all_string_dn_component_mismatch --attrs="lastKnownParent defaultObjectCategory fromServer rIDSetReferences" --cross-ncs $ARGS
+       $PYTHON $BINDIR/samba-tool dbcheck --quiet --fix --yes fix_all_old_dn_string_component_mismatch --attrs="lastKnownParent defaultObjectCategory fromServer rIDSetReferences" --cross-ncs $ARGS
 }
 
 # This list of attributes can be freely extended