dbcheck: Replica locations can now be leftover
authorGarming Sam <garming@catalyst.net.nz>
Thu, 21 Jul 2016 03:34:13 +0000 (15:34 +1200)
committerGarming Sam <garming@samba.org>
Thu, 21 Jul 2016 04:37:08 +0000 (06:37 +0200)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=9200

Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
testprogs/blackbox/dbcheck.sh

index d926afb8d997c97eebfef5d608b37c891813cce8..0f979abc7eb703902b7df06a8b50c36fd208c990 100755 (executable)
@@ -24,7 +24,7 @@ dbcheck_fix_one_way_links() {
 
 # This list of attributes can be freely extended
 dbcheck_fix_stale_links() {
-       $BINDIR/samba-tool dbcheck --quiet --fix --yes remove_plausible_deleted_DN_links --attrs="member" --cross-ncs $ARGS
+       $BINDIR/samba-tool dbcheck --quiet --fix --yes remove_plausible_deleted_DN_links --attrs="member msDS-NC-Replica-Locations msDS-NC-RO-Replica-Locations" --cross-ncs $ARGS
 }
 
 # This test shows that this does not do anything to a current