renamedc: Make a more targeted dbcheck
[samba.git] / testprogs / blackbox / renamedc.sh
index b81c5018d9acdd136c93ea08e1900fcf737a7df7..3eb5817c418374b6921d402b2ce11582a5caf178 100755 (executable)
@@ -65,7 +65,9 @@ testrenamedc2() {
 }
 
 dbcheck_fix() {
-       $BINDIR/samba-tool dbcheck --cross-ncs -s $PREFIX/renamedc_test/etc/smb.conf --fix --yes
+       $BINDIR/samba-tool dbcheck --cross-ncs -s $PREFIX/renamedc_test/etc/smb.conf --fix \
+               --quiet --yes fix_all_string_dn_component_mismatch \
+               --attrs="fsmoRoleOwner interSiteTopologyGenerator msDS-NC-Replica-Locations"
 }
 
 dbcheck() {