s4-torture/drs: Add test showing that if present in the set the NC root leads and...
commit87414955212143b8502b4c02aca150bc72cb8de5
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Jul 2023 00:05:18 +0000 (24 12:05 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 13 Aug 2023 21:59:29 +0000 (13 21:59 +0000)
tree6d0c768913a3cd5cfff613db1c4f4c31b2b497a9
parentb323169d6ff8357f7c999ae346137166c98218ac
s4-torture/drs: Add test showing that if present in the set the NC root leads and tmp_highest_usn moves

The NC root, on any replication when it appears, is the first object to be
replicated, including for all subsequent chunks in the replication.

However the tmp_highest_usn is not updated by that USN, it must
only be updated for the non-NC changes (to match Windows exactly),
or at least only updated with the non-NC changes until it would
naturally appear.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15401

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
selftest/knownfail.d/getncchanges
source4/torture/drs/python/getncchanges.py