renamedc: Make a more targeted dbcheck
authorGarming Sam <garming@catalyst.net.nz>
Tue, 12 Jul 2016 00:44:10 +0000 (12:44 +1200)
committerGarming Sam <garming@samba.org>
Fri, 15 Jul 2016 11:40:40 +0000 (13:40 +0200)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Autobuild-User(master): Garming Sam <garming@samba.org>
Autobuild-Date(master): Fri Jul 15 13:40:40 CEST 2016 on sn-devel-144

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() {