selftest: Ensure we can call DRSUAPI_EXOP_REPL_OBJ with replication disabled
authorAndrew Bartlett <abartlet@samba.org>
Tue, 19 Jul 2016 01:04:02 +0000 (13:04 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 19 Jul 2016 11:41:11 +0000 (13:41 +0200)
We add the forced flag, so that we can leave replication otherwise disabled

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
source4/torture/drs/python/repl_move.py

index d00d0940694498a5d6cae102c37fef30dac2b36a..862defb5c0e63ad24cfae62cf48f394c6e43cf8d 100644 (file)
@@ -144,7 +144,7 @@ class DrsMoveObjectTestCase(drs_base.DrsBaseTestCase):
         req8.highwatermark.reserved_usn = 0
         req8.highwatermark.highest_usn = 0
         req8.uptodateness_vector = None
-        req8.replica_flags = 0
+        req8.replica_flags = DRSUAPI_DRS_SYNC_FORCED
         req8.max_object_count = 1
         req8.max_ndr_size = 402116
         req8.extended_op = DRSUAPI_EXOP_REPL_OBJ