netcmd/ldapcmp: pass --skip-missing-dn to LDAPBase
[garming/samba-autobuild/.git] / testprogs / blackbox / ldapcmp_restoredc.sh
index d7a51aebbf2c32a84def7b0e6957bbf9f7d9e619..82804b218ca547243a470e1d109fe93e6c3b3ad0 100755 (executable)
@@ -59,7 +59,7 @@ ldapcmp_with_orig() {
     IGNORE_ATTRS="$IGNORE_ATTRS,serverReferenceBL,msDS-IsDomainFor"
 
     LDAPCMP_CMD="$PYTHON $BINDIR/samba-tool ldapcmp"
-    $LDAPCMP_CMD $DB1_PATH $DB2_PATH --two --filter=$IGNORE_ATTRS $BASE_DN_OPTS
+    $LDAPCMP_CMD $DB1_PATH $DB2_PATH --two --skip-missing-dn --filter=$IGNORE_ATTRS $BASE_DN_OPTS
 }
 
 # check that the restored testenv DC basically matches the original