]> git.ipfire.org Git - thirdparty/samba.git/commit
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 08:11:12 +0000 (08:11 +0000)
commitdba337929d6b668f1111c62af50e429072305087
treea772c18a817335a278469c43b496a07c2d645f0d
parent1fa63e6de9d251d8acb270aa804aafe6b573cc84
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