s4-torture/drs: Add test showing that if present in the set the NC root leads and...
authorAndrew Bartlett <abartlet@samba.org>
Mon, 24 Jul 2023 00:05:18 +0000 (12:05 +1200)
committerJule Anger <janger@samba.org>
Mon, 21 Aug 2023 07:40:16 +0000 (07:40 +0000)
commitd4927a5dc0c45cf1491b6f4080cf482454bc4435
treed38a1be0f27f533b571bc7ce31420008586a8c89
parent6452398ed83dc3adb3e06c9a27da907409b23f9a
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>
(cherry picked from commit 87414955212143b8502b4c02aca150bc72cb8de5)
selftest/knownfail.d/getncchanges
source4/torture/drs/python/getncchanges.py